[FFmpeg-devel] [PATCH] oggdec: fix invalid free on error

Michael Niedermayer michaelni at gmx.at
Sat Aug 30 16:59:52 CEST 2014

On Sat, Aug 30, 2014 at 03:39:15PM +0200, wm4 wrote:
> The read_packet callback passes a pointer to a stack-allocated AVPacket.
> Attempting to free it with av_free() makes no sense.
> ---
> Found by looking at the code; there's no sample file.
> ---
>  libavformat/oggdec.c | 1 -
>  1 file changed, 1 deletion(-)



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140830/817c10e3/attachment.asc>

More information about the ffmpeg-devel mailing list