Marton Balint 5126a8ecbb Fix av_find_best_stream when providing a wanted stream
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.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-11 13:05:46 +01:00
2011-03-11 12:25:47 +01:00
2011-03-08 17:33:23 +01:00
2011-02-16 23:00:30 +01:00
2011-03-11 12:25:47 +01:00
2011-02-16 23:00:30 +01:00
2011-03-10 20:17:19 +01:00
2011-01-18 11:20:17 -08:00
2011-03-11 12:25:47 +01:00
2011-02-22 02:44:39 +01:00

FFmpeg README
-------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Description
No description provided
Readme 173 MiB
Languages
C 92.1%
Assembly 6%
Makefile 1.2%
C++ 0.3%
Objective-C 0.2%
Other 0.1%