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

Michael Niedermayer michael at niedermayer.cc
Sun Aug 9 03:15:17 CEST 2015


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150809/992d3c27/attachment.sig>


More information about the ffmpeg-devel mailing list