[FFmpeg-devel] [PATCH] examples/demuxing_decoding: Fix invalidd API usage

Michael Niedermayer michaelni at gmx.at
Fri Feb 28 21:22:08 CET 2014

On Thu, Feb 06, 2014 at 01:03:44PM +0000, Derek Buitenhuis wrote:
> We are not technically allowed to reuse the codec context
> found inside the AVStream in the format context.

AFAIK It was originally intended that such reuse is safe.
iam not sure it actually is always with parsers and decoders
did you had a specific case in mind where its not safe ?
Iam asking because this makes the API more complex

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140228/f62e25d5/attachment.asc>

More information about the ffmpeg-devel mailing list