[FFmpeg-cvslog] Revert "avcodec/h2645_sei: fix parsing AOM grain provider_oriented_code"

James Almer git at videolan.org
Mon Nov 11 22:13:31 EET 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Nov 11 17:11:15 2024 -0300| [97c5cc3a5c7c69ed3289c54ef020bca28d82c39d] | committer: James Almer

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=97c5cc3a5c7c69ed3289c54ef020bca28d82c39d
---

 libavcodec/h2645_sei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,



More information about the ffmpeg-cvslog mailing list