[FFmpeg-devel,v2,2/3] lavc/libdavs2.c: change info level, only print errors

Submitted by hwren on July 12, 2019, 12:47 p.m.

Details

Message ID 1562935660-6235-2-git-send-email-hwrenx@126.com
State New
Headers show

Commit Message

hwren July 12, 2019, 12:47 p.m.
Signed-off-by: hwrenx <hwrenx@126.com>
---
 libavcodec/libdavs2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
index 218f3ec..df538af 100644
--- a/libavcodec/libdavs2.c
+++ b/libavcodec/libdavs2.c
@@ -44,7 +44,7 @@  static av_cold int davs2_init(AVCodecContext *avctx)
 
     /* init the decoder */
     cad->param.threads      = avctx->thread_count;
-    cad->param.info_level   = 0;
+    cad->param.info_level   = DAVS2_LOG_ERROR;
     cad->param.disable_avx  = !(cpu_flags & AV_CPU_FLAG_AVX &&
                                 cpu_flags & AV_CPU_FLAG_AVX2);
     cad->decoder            = davs2_decoder_open(&cad->param);