Commit cebbaf57 authored by Michael Niedermayer's avatar Michael Niedermayer

nutdec: improve information in error message

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d1ee2cf7
...@@ -623,7 +623,7 @@ static int find_and_decode_index(NUTContext *nut) ...@@ -623,7 +623,7 @@ static int find_and_decode_index(NUTContext *nut)
int flag = x & 1; int flag = x & 1;
x >>= 1; x >>= 1;
if (n + x >= syncpoint_count + 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; goto fail;
} }
while (x--) while (x--)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment