Remove aom_codec_stream_info_t sz field references

Upstream has removed the requirement to set this when initializing the stream_info struct.
This commit is contained in:
trav90 2018-10-17 05:46:09 -05:00 committed by Roy Tam
commit dc0970c312

View file

@ -215,7 +215,6 @@ bool
AOMDecoder::IsKeyframe(Span<const uint8_t> aBuffer) {
aom_codec_stream_info_t info;
PodZero(&info);
info.sz = sizeof(info);
aom_codec_peek_stream_info(aom_codec_av1_dx(),
aBuffer.Elements(),
@ -230,7 +229,6 @@ nsIntSize
AOMDecoder::GetFrameSize(Span<const uint8_t> aBuffer) {
aom_codec_stream_info_t info;
PodZero(&info);
info.sz = sizeof(info);
aom_codec_peek_stream_info(aom_codec_av1_dx(),
aBuffer.Elements(),