On Sat, Jan 31, 2015 at 09:25:44PM +0100, Andreas Cadhalpun wrote: > Hi, > > the demuxing_decoding example sets the stream_idx even if it fails > find a codec for that streams. This leads to a crash, when trying to > decode the stream. > > Attached patch fixes this. > > Best regards, > Andreas
> demuxing_decoding.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > d273429b7aa2e30049a79262c9f3485580b8286e > 0002-examples-demuxing_decoding-set-stream_idx-in-open_co.patch > From 387b8eb9c1a45bd93b7dde68669426e9ca42525a Mon Sep 17 00:00:00 2001 > From: Andreas Cadhalpun <andreas.cadhal...@googlemail.com> > Date: Sat, 31 Jan 2015 21:11:38 +0100 > Subject: [PATCH 2/2] examples/demuxing_decoding: set stream_idx in > open_codec_context only if no error occured applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The educated differ from the uneducated as much as the living from the dead. -- Aristotle
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel