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

2014-08-30 Thread Michael Niedermayer
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,

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

2014-08-30 Thread wm4
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(-) diff --git a/libavformat/oggdec.c b/libavformat/ogg