this code is simple, you can combine it with the next one On Wed, Jun 5, 2024 at 5:24 PM Frank Plowman <p...@frankplowman.com> wrote:
> Signed-off-by: Frank Plowman <p...@frankplowman.com> > --- > libavcodec/vvc/ps.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/vvc/ps.c b/libavcodec/vvc/ps.c > index 1b23675c98..bfc3c121fd 100644 > --- a/libavcodec/vvc/ps.c > +++ b/libavcodec/vvc/ps.c > @@ -186,8 +186,11 @@ static int sps_derive(VVCSPS *sps, void *log_ctx) > sps_inter(sps); > sps_partition_constraints(sps); > sps_ladf(sps); > - if (r->sps_chroma_format_idc != 0) > - sps_chroma_qp_table(sps); > + if (r->sps_chroma_format_idc != 0) { > + ret = sps_chroma_qp_table(sps); > + if (ret < 0) > + return ret; > + } > > return 0; > } > -- > 2.45.1 > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".