diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-03-09 16:30:03 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-03-12 11:09:45 +0100 |
commit | a4472ac01e86f9fae5adb9034f2777b86a9c5480 (patch) | |
tree | 80d9a366c765596141b9468c7fd0dd89af4dfd58 /libavcodec | |
parent | 8f10f1a6dc0d326a146e169860a2de7a8356fdab (diff) | |
download | ffmpeg-a4472ac01e86f9fae5adb9034f2777b86a9c5480.tar.gz |
Add informative messages to av_log_ask_for_sample calls lacking them
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index e0d5433a4e..472fa475aa 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3356,9 +3356,8 @@ static int decode_slice_header(H264Context *h, H264Context *h0) h->droppable = last_pic_droppable; return AVERROR_INVALIDDATA; } else if (last_pic_droppable != h->droppable) { - av_log(h->avctx, AV_LOG_ERROR, - "Cannot combine reference and non-reference fields in the same frame\n"); - av_log_ask_for_sample(h->avctx, NULL); + av_log_ask_for_sample(h->avctx, + "Found reference and non-reference fields in the same frame.\n"); h->picture_structure = last_pic_structure; h->droppable = last_pic_droppable; return AVERROR_PATCHWELCOME; |