[FFmpeg-devel] [PATCH 2/6] nutdec: improve information in error message
Michael Niedermayer
michaelni at gmx.at
Sun Aug 19 23:39:08 CEST 2012
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavformat/nutdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index f4813fe..ba3eb85 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--)
--
1.7.9.5
More information about the ffmpeg-devel
mailing list