From 1036d1fa0b1fe0f1a7136ffe111f577aa35de21e Mon Sep 17 00:00:00 2001 From: trav90 Date: Wed, 17 Oct 2018 05:46:09 -0500 Subject: 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(-) (limited to 'dom/media/platforms/agnostic') diff --git a/dom/media/platforms/agnostic/AOMDecoder.cpp b/dom/media/platforms/agnostic/AOMDecoder.cpp index f3e8c7450..3ab5004e3 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(), -- cgit v1.2.3