On Tue, 17 Feb 2015 13:29:08 +0200 Anton Shekhovtsov <[email protected]> wrote:
> 2015-02-17 12:44 GMT+02:00 wm4 <nfx <[email protected]> > > > > if(avcodec_open2(pCodecCtx, pCodec)<0) > > > > You must not use the AVStream's codec context for decoding. Use > > avcodec_copy_context(). > > > > Can you explain this? demuxing_decoding.c does not have it! Then the example is slightly wrong (unfortunately nothing unusual). There is no "strict" requirement yet to use a separate context, but it's "strongly discouraged". For now it still works fine mostly. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
