1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Revert "avcodec/h2645_sei: fix parsing AOM grain provider_oriented_code"

This reverts commit 24141a7140.
It was a change made by looking at an old spec version.
This commit is contained in:
James Almer 2024-11-11 17:11:15 -03:00
parent e33b162c7d
commit 97c5cc3a5c

View File

@ -245,7 +245,7 @@ static int decode_registered_user_data(H2645SEI *h, GetByteContext *gb,
if (bytestream2_get_bytes_left(gb) < 2) if (bytestream2_get_bytes_left(gb) < 2)
return AVERROR_INVALIDDATA; 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) { if (provider_oriented_code == aom_grain_provider_oriented_code) {
return ff_aom_parse_film_grain_sets(&h->aom_film_grain, return ff_aom_parse_film_grain_sets(&h->aom_film_grain,
gb->buffer, gb->buffer,