aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-03-09 16:30:03 +0100
committerDiego Biurrun <diego@biurrun.de>2013-03-12 11:09:45 +0100
commita4472ac01e86f9fae5adb9034f2777b86a9c5480 (patch)
tree80d9a366c765596141b9468c7fd0dd89af4dfd58 /libavcodec/h264.c
parent8f10f1a6dc0d326a146e169860a2de7a8356fdab (diff)
downloadffmpeg-a4472ac01e86f9fae5adb9034f2777b86a9c5480.tar.gz
Add informative messages to av_log_ask_for_sample calls lacking them
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c5
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;