mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-21 14:53:10 +00:00
nutdec: improve information in error message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d1ee2cf74a
commit
cebbaf578d
@ -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--)
|
||||||
|
Loading…
Reference in New Issue
Block a user