OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9291fae
)
h264: print actual slice number in "Too many slices" warning
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 18 Jun 2011 22:02:55 +0000
(
00:02
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 19 Jun 2011 01:54:16 +0000
(
03:54
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
b88622d
..
ca7867e
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-2984,7
+2984,7
@@
static int decode_slice_header(H264Context *h, H264Context *h0){
h0->last_slice_type = slice_type;
h->slice_num = ++h0->current_slice;
if(h->slice_num >= MAX_SLICES){
- av_log(s->avctx, AV_LOG_ERROR, "Too many slices
, increase MAX_SLICES and recompile\n"
);
+ av_log(s->avctx, AV_LOG_ERROR, "Too many slices
(%d >= %d), increase MAX_SLICES and recompile\n", h->slice_num, MAX_SLICES
);
}
for(j=0; j<2; j++){