summaryrefslogtreecommitdiff
path: root/src/video_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_decode.c')
-rw-r--r--src/video_decode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_decode.c b/src/video_decode.c
index c1f7c5a..1124d72 100644
--- a/src/video_decode.c
+++ b/src/video_decode.c
@@ -32,6 +32,9 @@ video_decode_init(struct video_decode **vd_out, char *file, int64_t ts)
return -1;
av_register_all();
+#if DEBUG == 0
+ av_log_set_level(AV_LOG_QUIET);
+#endif
vd->fmt_ctx = NULL;
vd->codec_ctx = NULL;