History

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.

James Almer committed 2 years ago

Commit 97c5cc31 parent e33b1621 file · +1 −1Browse files

Unified · Split

libavcodec/h2645_sei.c+1−1
@@ -245,7 +245,7 @@ static int decode_registered_user_data(H2645SEI *h, GetByteContext *gb, · 244 unmodified lines
245 if (bytestream2_get_bytes_left(gb) < 2)245 if (bytestream2_get_bytes_left(gb) < 2)
246 return AVERROR_INVALIDDATA;246 return AVERROR_INVALIDDATA;
247 247
248 provider_oriented_code = bytestream2_get_be16u(gb);248 provider_oriented_code = bytestream2_get_byteu(gb);
249 if (provider_oriented_code == aom_grain_provider_oriented_code) {249 if (provider_oriented_code == aom_grain_provider_oriented_code) {
250 return ff_aom_parse_film_grain_sets(&h->aom_film_grain,250 return ff_aom_parse_film_grain_sets(&h->aom_film_grain,
251 gb->buffer,251 gb->buffer,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t