Hi,

On Wed, Jul 13, 2011 at 6:14 PM, Anton Khirnov <an...@khirnov.net> wrote:
> ---
>  libavformat/utils.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavformat/utils.c b/libavformat/utils.c
> index 71fa955..cc0336a 100644
> --- a/libavformat/utils.c
> +++ b/libavformat/utils.c
> @@ -2389,7 +2389,7 @@ int avformat_find_stream_info(AVFormatContext *ic, 
> AVDictionary **options)
>            least one frame of codec data, this makes sure the codec 
> initializes
>            the channel configuration and does not only trust the values from 
> the container.
>         */
> -        try_decode_frame(st, pkt, (options && i <= orig_nb_streams )? 
> &options[i] : NULL);
> +        try_decode_frame(st, pkt, (options && i < orig_nb_streams )? 
> &options[i] : NULL);

OK.

Ronald
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to