[FFmpeg-cvslog] nutdec: improve information in error message
Michael Niedermayer
git at videolan.org
Sun Aug 26 22:22:19 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 19 23:29:58 2012 +0200| [cebbaf578d9bb68aeea969d7768aea062afa8aea] | committer: Michael Niedermayer
nutdec: improve information in error message
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cebbaf578d9bb68aeea969d7768aea062afa8aea
---
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--)
More information about the ffmpeg-cvslog
mailing list