diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-11 02:47:38 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-02-14 09:23:35 +0100 |
commit | 9c659b3a678fb5f1ed7136f3b7da9a4fc1f88288 (patch) | |
tree | fa7dc5491061ac829bd63fab0c8c77a3f25bfabb | |
parent | 1690c1fa88603c1cd31d66c12fb66d21db342d6c (diff) | |
download | ffmpeg-9c659b3a678fb5f1ed7136f3b7da9a4fc1f88288.tar.gz |
h264_refs: Print default in case we are missing a reference.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a39d36146a40cb52b3560fd02c73eccf72603b8f)
-rw-r--r-- | libavcodec/h264_refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index e5c008cdd8..3e0f39dd5f 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -287,7 +287,7 @@ int ff_h264_decode_ref_pic_list_reordering(H264Context *h){ for(list=0; list<h->list_count; list++){ for(index= 0; index < h->ref_count[list]; index++){ if (!h->ref_list[list][index].f.data[0]) { - av_log(h->s.avctx, AV_LOG_ERROR, "Missing reference picture\n"); + av_log(h->s.avctx, AV_LOG_ERROR, "Missing reference picture, default is %d\n", h->default_ref_list[list][0].poc); if (h->default_ref_list[list][0].f.data[0]) h->ref_list[list][index]= h->default_ref_list[list][0]; else |