From dc0970c312bf7c24065b758b5b17457a1753672c Mon Sep 17 00:00:00 2001 From: trav90 Date: Wed, 17 Oct 2018 05:46:09 -0500 Subject: [PATCH] Remove aom_codec_stream_info_t sz field references Upstream has removed the requirement to set this when initializing the stream_info struct. --- dom/media/platforms/agnostic/AOMDecoder.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/dom/media/platforms/agnostic/AOMDecoder.cpp b/dom/media/platforms/agnostic/AOMDecoder.cpp index f3e8c7450b..3ab5004e33 100644 --- a/dom/media/platforms/agnostic/AOMDecoder.cpp +++ b/dom/media/platforms/agnostic/AOMDecoder.cpp @@ -215,7 +215,6 @@ bool AOMDecoder::IsKeyframe(Span 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 aBuffer) { aom_codec_stream_info_t info; PodZero(&info); - info.sz = sizeof(info); aom_codec_peek_stream_info(aom_codec_av1_dx(), aBuffer.Elements(),