Re: [FFmpeg-devel] [PATCH v2] avcodec/h264_sei: fix H.274 film grain parsing

2021-08-02 Thread James Almer
On 8/2/2021 9:06 AM, Niklas Haas wrote: From: Niklas Haas The current code reads the wrong number of bits for `fg_model_id`, which causes all of the values downstream of this to contain corrupt values. Fixes: corrupt SEI values Fixes: 4ff73add5dbe6c319d693355be44df2e17a0b8bf Signed-off-by: Ni

[FFmpeg-devel] [PATCH v2] avcodec/h264_sei: fix H.274 film grain parsing

2021-08-02 Thread Niklas Haas
From: Niklas Haas The current code reads the wrong number of bits for `fg_model_id`, which causes all of the values downstream of this to contain corrupt values. Fixes: corrupt SEI values Fixes: 4ff73add5dbe6c319d693355be44df2e17a0b8bf Signed-off-by: Niklas Haas --- libavcodec/h264_sei.c | 2