[libav-devel] [PATCH] avi: Spin out the logic to find the best non-interleaved stream

Luca Barbato lu_zero at gentoo.org
Mon Nov 30 11:37:57 CET 2015


On 30/11/15 09:13, Anton Khirnov wrote:
> Quoting Luca Barbato (2015-11-28 21:06:11)
>> ---
>>  libavformat/avidec.c | 134 +++++++++++++++++++++++++++------------------------
>>  1 file changed, 72 insertions(+), 62 deletions(-)
>>
>> diff --git a/libavformat/avidec.c b/libavformat/avidec.c
>> index 7e8d7e8..674a023 100644
>> --- a/libavformat/avidec.c
>> +++ b/libavformat/avidec.c
>> @@ -1093,6 +1093,75 @@ start_sync:
>>      return AVERROR_EOF;
>>  }
>>  
>> +static int find_best_stream(AVFormatContext *s)
> 
> The name is misleading, this function does a lot more than just finding
> the stream.
> 

Update best stream?

lu


More information about the libav-devel mailing list