[FFmpeg-cvslog] H264:Print short+long+max values when they dont match up.
Michael Niedermayer
git at videolan.org
Sun May 1 02:59:24 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun May 1 02:32:16 2011 +0200| [0ae4aba649dffd6de4594715be06e1ec39d374d5] | committer: Michael Niedermayer
H264:Print short+long+max values when they dont match up.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ae4aba649dffd6de4594715be06e1ec39d374d5
---
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 e850484..c13059a 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -630,7 +630,7 @@ int ff_h264_execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){
*/
av_log(h->s.avctx, AV_LOG_ERROR,
"number of reference frames exceeds max (probably "
- "corrupt input), discarding one\n");
+ "corrupt input), discarding one long:%d short:%d max:%d\n", h->long_ref_count, h->short_ref_count, h->sps.ref_frame_count);
if (h->long_ref_count && !h->short_ref_count) {
for (i = 0; i < 16; ++i)
More information about the ffmpeg-cvslog
mailing list