Browse Source

disable debug log

ehlxr 3 years ago
parent
commit
cbe9cb2d68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ffmpeg/av_decode.cpp

+ 1 - 1
src/ffmpeg/av_decode.cpp

@@ -168,7 +168,7 @@ long initDecoder(const char *url, int force_Iframe, DisableMediaType disableMedi
     char err_info[512] = {0};
     avformat_network_init();
 
-    av_log_set_level(AV_LOG_PANIC);
+    av_log_set_level(AV_LOG_ERROR);
 
     int ret = avformat_open_input(&(dctx->avformatContext), dctx->url, NULL, NULL);