[FFmpeg-devel] [PATCH 3/3] avcodec/avpacket: Don't write into non-writable buffer

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Wed Feb 12 17:44:21 EET 2020


On Wed, Feb 12, 2020 at 4:31 PM Andreas Rheinhardt <
andreas.rheinhardt at gmail.com> wrote:

> But given that it
> also zeroes the padding it also needs to make sure that the buffer is
> actually writable; this commit implements this.
>

av_shrink_packet has a similar issue and it seems unfixable given that it
is used with non-refcounted packets and doesn't return anything.

- Andreas


More information about the ffmpeg-devel mailing list