On Sun, 9 Aug 2015 03:15:17 +0200 Michael Niedermayer <mich...@niedermayer.cc> wrote:
> On Sat, Aug 08, 2015 at 07:39:25PM +0200, wm4 wrote: > > This matters because avformat_find_stream_info() can open this decoder > > under certain circumstances. It will not create a copy of the context, > > and all changes done to AVCodecContext must be undone on closing. > > --- > > Shitty avformat_find_stream_info() implementation meats shitty BSF API, > > wasting developer time. > > set private_spspps_buf or use a temporary AVCodecContext > > extradata is owned by the user/caller, the decoder should not change > it Changed and pushed. I pushed the other patch too (with a small change), as well as a third (hopefully uncontroversial) mmaldec patch. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel