[FFmpeg-devel] [CRASH]
Michael Niedermayer
michaelni at gmx.at
Tue Jun 7 22:22:23 CEST 2011
On Tue, Jun 07, 2011 at 10:16:51PM +0200, Michael Niedermayer wrote:
> On Tue, Jun 07, 2011 at 03:20:42PM +0200, Etienne Buira wrote:
> > On Tue, Jun 07, 2011 at 01:14:46PM +0100, JULIAN GARDNER wrote:
> > >
> > > Since last nights git pull i have been getting a crash (see error dump at end) at then end of encoding with the following command line
> > >
> > > ./ffmpeg -i Lie.avi -i Lie.srt -vcodec libx264 -scodec ass -f mpegts -y a.ts
> > >
> > > But if i remove the "-vcodec libx264" everything works fine.
> > > #7 0x086d88a2 in av_free (arg=0x8e9e144) at libavutil/mem.c:152
> > > #8 av_freep (arg=0x8e9e144) at libavutil/mem.c:159
> > > #9 0x086d8b87 in av_opt_free (obj=0x400) at libavutil/opt.c:528
> > > #10 0x0806d9ee in avcodec_close (avctx=0x8e9d900) at libavcodec/utils.c:862
> > > #11 0x08088e71 in transcode (nb_output_files=<value optimized out>, input_files=<value optimized out>,
> > > nb_input_files=<value optimized out>, stream_maps=0x0, nb_stream_maps=0, output_files=<value optimized out>) at ffmpeg.c:2893
> > > #12 0x08089f8c in main (argc=17, argv=0xbffff704) at ffmpeg.c:4663
> > > (gdb)
> >
> > Please try attached patch.
>
> locally applied, will push later
>
> thx
btw, to everyone
please do NOT use av_free() but av_freep() it avoids such double
frees
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110607/a5130b45/attachment.asc>
More information about the ffmpeg-devel
mailing list