summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-10-17 05:46:09 -0500
committertrav90 <travawine@palemoon.org>2018-10-17 05:46:09 -0500
commit1036d1fa0b1fe0f1a7136ffe111f577aa35de21e (patch)
tree9415247fd2730c5ca088d586ce5a7f30332e15d7 /dom
parent26dc168e353d0e97f996371ddfed63140c864fb9 (diff)
downloaduxp-1036d1fa0b1fe0f1a7136ffe111f577aa35de21e.tar.gz
Remove aom_codec_stream_info_t sz field references
Upstream has removed the requirement to set this when initializing the stream_info struct.
Diffstat (limited to 'dom')
-rw-r--r--dom/media/platforms/agnostic/AOMDecoder.cpp2
1 files changed, 0 insertions, 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<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(),