OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
390703f
)
avcodec/mpeg12dec: Print position in end mismatch error
author
Michael Niedermayer
<michael@niedermayer.cc>
Sat, 30 Apr 2016 23:26:03 +0000
(
01:26
+0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Sat, 30 Apr 2016 23:43:06 +0000
(
01:43
+0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg12dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12dec.c
b/libavcodec/mpeg12dec.c
index
4c96a1a
..
b861358
100644
(file)
--- a/
libavcodec/mpeg12dec.c
+++ b/
libavcodec/mpeg12dec.c
@@
-1905,8
+1905,8
@@
static int mpeg_decode_slice(MpegEncContext *s, int mb_y,
if (left < 0 ||
(left && show_bits(&s->gb, FFMIN(left, 23)) && !is_d10) ||
((avctx->err_recognition & (AV_EF_BITSTREAM | AV_EF_AGGRESSIVE)) && left > 8)) {
- av_log(avctx, AV_LOG_ERROR, "end mismatch left=%d %0X\n",
- left, left>0 ? show_bits(&s->gb, FFMIN(left, 23)) : 0);
+ av_log(avctx, AV_LOG_ERROR, "end mismatch left=%d %0X
at %d %d
\n",
+ left, left>0 ? show_bits(&s->gb, FFMIN(left, 23)) : 0
, s->mb_x, s->mb_y
);
return AVERROR_INVALIDDATA;
} else
goto eos;