[FFmpeg-devel] [PATCH 4/9] Don't assume reading more frames in av_find_stream_info will change a CODEC_ID_NONEinto something better

Joakim Plate elupus at ecce.se
Sat Sep 10 23:35:27 CEST 2011


Michael Niedermayer <michaelni <at> gmx.at> writes:

> 
> On Sat, Sep 10, 2011 at 07:23:24PM +0200, Joakim Plate wrote:
> > This avoids depleting the full probe buffer trying replace a
> > CODEC_ID_NONE with something else. If
> > the codec is expected to change, it should be CODEC_ID_PROBE to signal
> > ongoing probing.
> 
> as we use request_probe instead of CODEC_ID_PROBE now, CODEC_ID_NONE
> can change to something else
> 
> [...]
> 


Ah okey, then that aught to be checked instead. Will update patch.
The reason was it made av_find_stream_info read a pointless amount
of the stream.




More information about the ffmpeg-devel mailing list