diff options
author | James Almer <jamrial@gmail.com> | 2024-11-11 17:11:15 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-11-11 17:11:15 -0300 |
commit | 97c5cc3a5c7c69ed3289c54ef020bca28d82c39d (patch) | |
tree | aa4903baeb1b9d993b171b42d30ffcd043ca9f89 | |
parent | e33b162c7d8bbbb4838a2af3685fad2bb1ac774a (diff) | |
download | ffmpeg-97c5cc3a5c7c69ed3289c54ef020bca28d82c39d.tar.gz |
Revert "avcodec/h2645_sei: fix parsing AOM grain provider_oriented_code"
This reverts commit 24141a714093f6a662e922ec38e361f2ec1446b7.
It was a change made by looking at an old spec version.
-rw-r--r-- | libavcodec/h2645_sei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h2645_sei.c b/libavcodec/h2645_sei.c index d8e7d9e72b..62369dd37f 100644 --- a/libavcodec/h2645_sei.c +++ b/libavcodec/h2645_sei.c @@ -245,7 +245,7 @@ static int decode_registered_user_data(H2645SEI *h, GetByteContext *gb, if (bytestream2_get_bytes_left(gb) < 2) return AVERROR_INVALIDDATA; - provider_oriented_code = bytestream2_get_be16u(gb); + provider_oriented_code = bytestream2_get_byteu(gb); if (provider_oriented_code == aom_grain_provider_oriented_code) { return ff_aom_parse_film_grain_sets(&h->aom_film_grain, gb->buffer, |