ffv1: fix log level of FF_DEBUG_PICT_INFO
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Jun 2012 22:55:02 +0000 (00:55 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Jun 2012 22:55:25 +0000 (00:55 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 730d079bf756c40f4a3c4624388db11d1be3475f)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ffv1.c

index 21f1761..8eb20fe 100644 (file)
@@ -1991,7 +1991,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
     }
 
     if(avctx->debug&FF_DEBUG_PICT_INFO)
-        av_log(avctx, AV_LOG_ERROR, "keyframe:%d coder:%d\n", p->key_frame, f->ac);
+        av_log(avctx, AV_LOG_DEBUG, "keyframe:%d coder:%d\n", p->key_frame, f->ac);
 
     buf_p= buf + buf_size;
     for(i=f->slice_count-1; i>=0; i--){