Re: [FFmpeg-devel] [PATCH] avcodec/hevc_ps: Improve PPS SCC extension bit depth check

2023-07-09 Thread Andreas Rheinhardt
James Almer: > On 7/9/2023 9:19 PM, Andreas Rheinhardt wrote: >>  From the spec: "It is a requirement of bitstream conformance that >> the value of luma_bit_depth_entry_minus8 shall be equal to >> the value of bit_depth_luma_minus8"; similarly for chroma. >> >> Should fix Coverity ticket #1529226.

Re: [FFmpeg-devel] [PATCH] avcodec/hevc_ps: Improve PPS SCC extension bit depth check

2023-07-09 Thread James Almer
On 7/9/2023 9:19 PM, Andreas Rheinhardt wrote: From the spec: "It is a requirement of bitstream conformance that the value of luma_bit_depth_entry_minus8 shall be equal to the value of bit_depth_luma_minus8"; similarly for chroma. Should fix Coverity ticket #1529226. Signed-off-by: Andreas Rhe

[FFmpeg-devel] [PATCH] avcodec/hevc_ps: Improve PPS SCC extension bit depth check

2023-07-09 Thread Andreas Rheinhardt
>From the spec: "It is a requirement of bitstream conformance that the value of luma_bit_depth_entry_minus8 shall be equal to the value of bit_depth_luma_minus8"; similarly for chroma. Should fix Coverity ticket #1529226. Signed-off-by: Andreas Rheinhardt --- libavcodec/hevc_ps.c | 10 ++---