On Mon, Nov 23, 2015 at 7:25 PM, Luca Barbato <[email protected]> wrote:
> And make one more informative.
> ---
>  libavformat/nutdec.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
> index 1778f42..b873e82 100644
> --- a/libavformat/nutdec.c
> +++ b/libavformat/nutdec.c
> @@ -532,7 +532,9 @@ static int decode_info_header(NUTContext *nut)
>          }
>
>          if (stream_id_plus1 > s->nb_streams) {
> -            av_log(s, AV_LOG_ERROR, "invalid stream id for info packet\n");
> +            av_log(s, AV_LOG_WARNING,
> +                   "invalid stream id %d for info packet\n",
> +                   stream_id_plus1);
>              continue;
>          }
>
> @@ -613,7 +615,7 @@ static int find_and_decode_index(NUTContext *nut)
>      avio_seek(bc, filesize - 12, SEEK_SET);
>      avio_seek(bc, filesize - avio_rb64(bc), SEEK_SET);
>      if (avio_rb64(bc) != INDEX_STARTCODE) {
> -        av_log(s, AV_LOG_ERROR, "no index at the end\n");
> +        av_log(s, AV_LOG_WARNING, "no index at the end\n");
>          return ret;
>      }

sure
-- 
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to