diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-07-28 11:30:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-07-28 11:50:02 +0200 |
commit | 2fb9fc0f6c033c1fabe5c0314d9c7536ef160e01 (patch) | |
tree | 1cfc326f17d39249e3fdd9a3e3a05234eb2826c0 | |
parent | 25a53c54d146edd3cf21358505d3cd5d5b55bc3b (diff) | |
download | ffmpeg-2fb9fc0f6c033c1fabe5c0314d9c7536ef160e01.tar.gz |
h264: improve max slices error message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 83d81c95f1..1f417a860a 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2946,7 +2946,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 (%d >= %d), increase MAX_SLICES and recompile\n", h->slice_num, MAX_SLICES); + av_log(s->avctx, AV_LOG_WARNING, "Possibly too many slices (%d >= %d), increase MAX_SLICES and recompile if there are artifacts\n", h->slice_num, MAX_SLICES); } for(j=0; j<2; j++){ |