summaryrefslogtreecommitdiffstats
path: root/dom/media/platforms/agnostic/AOMDecoder.cpp
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/media/platforms/agnostic/AOMDecoder.cpp
parent26dc168e353d0e97f996371ddfed63140c864fb9 (diff)
downloadUXP-1036d1fa0b1fe0f1a7136ffe111f577aa35de21e.tar
UXP-1036d1fa0b1fe0f1a7136ffe111f577aa35de21e.tar.gz
UXP-1036d1fa0b1fe0f1a7136ffe111f577aa35de21e.tar.lz
UXP-1036d1fa0b1fe0f1a7136ffe111f577aa35de21e.tar.xz
UXP-1036d1fa0b1fe0f1a7136ffe111f577aa35de21e.zip
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/media/platforms/agnostic/AOMDecoder.cpp')
-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 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<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(),