[FFmpeg-devel] [PATCH 2/2] mmaldec: restore extradata destroyed by bitstream filter

wm4 nfxjfg at googlemail.com
Tue Aug 11 12:15:13 CEST 2015


On Sun, 9 Aug 2015 03:15:17 +0200
Michael Niedermayer <michael at 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.


More information about the ffmpeg-devel mailing list