[FFmpeg-devel] [PATCH] Found a memory leak in dvbsubdec.c

Wim Vander Schelden lists at fixnum.org
Thu Jan 23 14:06:58 CET 2014

Sure, I've uploaded an MPEG2 TS capture to

Running the following under valgrind will show the leak:

./ffmpeg_g -i SubTitleHD.ts -map 0:#0x1580 -scodec dvdsub foo.mkv

Kind regards,


On Thu, Jan 23, 2014 at 10:48 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Wim Vander Schelden <lists <at> fixnum.org> writes:
> > When running ffmpeg with valgrind, I discovered a leak
> > in dvbsubdec.c. It would sometimes decrease the number
> > of rectangles in an AVSubtitle after allocating the
> > rectangles, without freeing the additional rectangles.
> Can you provide a sample that allows to reproduce this?
> Thank you, Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list