[FFmpeg-cvslog] lavf: fix av_find_best_stream when providing a wanted stream.

Nicolas George nicolas.george at normalesup.org
Fri May 13 08:09:45 CEST 2011


Le quartidi 24 floréal, an CCXIX, Marton Balint a écrit :
> In the main loop, stream_number is incremented after checking the stream type,
> so the search usually will not find the wanted stream.

How is it a fix? This was the intended behaviour: the number is counted
among streams of a given type, starting at 0 for each. This is not a fix,
this is an API change.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-cvslog mailing list