[FFmpeg-devel] [PATCH v6 03/14] vvcdec: add parameter parser for sps, pps, ph, sh

Nuo Mi nuomi2021 at gmail.com
Fri Dec 8 18:20:36 EET 2023


Hi Andreas,
Thank you for the review.

On Fri, Dec 8, 2023 at 8:25 PM Andreas Rheinhardt <
andreas.rheinhardt at outlook.com> wrote:

>
>
> Missing allocation check.
>
done.

>
>
> We know that sps and ps->sps_list[sps_id] don't coincide, so the latter
> will always be unreferenced. So you might just as well use one of these:
>
>     ff_refstruct_unref(&ps->sps_list[sps_id]);
>     ps->sps_list[sps_id] = sps;
>
done for sps and pps.

>
>


More information about the ffmpeg-devel mailing list