[FFmpeg-devel] [PATCH] Don't assume reading more frames in av_find_stream_info will change a CODEC_ID_NONE into something better

elupus elupus
Mon Apr 12 02:06:25 CEST 2010

Currently av_find_stream_info will assume that reading more frames may
change a codec_id == CODEC_ID_NONE to something more exact. Asfar as i know
this will never happen.

So this patch changes the check to CODEC_ID_PROBE which absolutely could be
changed into something more exact. 

Reduces startup time of dvr-ms files specifically since they often have an
unknown codec in them.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-assume-reading-more-frames-in-av_find_stream_i.patch
Type: text/x-patch
Size: 820 bytes
Desc: Attached file: 0001-Don-t-assume-reading-more-frames-in-av_find_stream_i.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100412/6b0d0c9f/attachment.bin>

More information about the ffmpeg-devel mailing list