summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-19 23:29:58 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-26 22:15:18 +0200
commitcebbaf578d9bb68aeea969d7768aea062afa8aea (patch)
tree2aca4470db2cce5b19a7616c9e0ff32442634555
parentd1ee2cf74ad1e26462e224e84f80858b158e3951 (diff)
nutdec: improve information in error message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/nutdec.c2
1 files changed, 1 insertions, 1 deletions
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--)