[FFmpeg-devel] [PATCH] Fix av_find_best_stream when providing a wanted stream

Michael Niedermayer michaelni
Fri Mar 11 13:06:14 CET 2011

On Fri, Mar 04, 2011 at 11:38:47PM +0100, Marton Balint wrote:
> On Sun, 20 Feb 2011, Marton Balint wrote:
>> In the main loop, stream_number is incremented after checking the stream type,
>> so the search usually will not find the wanted stream.
>> This patch eliminates the useless stream_number variable and introduces a new
>> one, called real_stream_index to store the real stream index of the current
>> stream, no matter if we are looping through all the streams or only the streams
>> of a program.
>> ---
>> libavformat/utils.c |    9 +++++----
>> 1 files changed, 5 insertions(+), 4 deletions(-)
> Hello guys, has anybody had the time to review my patches regarding  
> av_find_best_stream?

sorry for the delay

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110311/ed1f7f9a/attachment.pgp>

More information about the ffmpeg-devel mailing list