From d8773bd96bf1d9e00fcc15bcf551e810b26a7378 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sat, 17 Nov 2012 11:59:36 +0100 Subject: video_decode: Quient libav if DEBUG is disabled --- src/video_decode.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit