From cebbaf578d9bb68aeea969d7768aea062afa8aea Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 19 Aug 2012 23:29:58 +0200 Subject: [PATCH] nutdec: improve information in error message Signed-off-by: Michael Niedermayer --- libavformat/nutdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index f4813fe5ec..ba3eb859f2 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -623,7 +623,7 @@ static int find_and_decode_index(NUTContext *nut) int flag = x & 1; x >>= 1; if (n + x >= syncpoint_count + 1) { - av_log(s, AV_LOG_ERROR, "index overflow A\n"); + av_log(s, AV_LOG_ERROR, "index overflow A %d + %d >= %d\n", n, x, syncpoint_count + 1); goto fail; } while (x--)