[FFmpeg-devel] [PATCH ffmpeg] Try to fix kdenlive crash

Michael Niedermayer michaelni at gmx.at
Wed Sep 28 22:39:38 CEST 2011

On Wed, Sep 28, 2011 at 10:42:01PM +0300, Mikko Rapeli wrote:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x557feb70 (LWP 21733)]
> 0xb052d0fd in avcodec_decode_video2 (avctx=0x172c3e40, picture=0x174217a0,
> Quit
> (gdb) print avctx
> $1 = (AVCodecContext *) 0x172c3e40
> (gdb) print avctx->codec
> $2 = (struct AVCodec *) 0x0

wild guess, you call avcodec_decode_video2() before opening the codec
or after closing it.

Is this what you want to do ?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- 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/20110928/df7430e3/attachment.asc>

More information about the ffmpeg-devel mailing list