summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-17 11:59:36 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-17 11:59:36 +0100
commitd8773bd96bf1d9e00fcc15bcf551e810b26a7378 (patch)
tree4493aceaa7dceb6c86670f2b763be8d7caa582ae /src
parent9b4fb2d5458e6df3ab618f49ed302efa2699d279 (diff)
downloadadvtime-d8773bd96bf1d9e00fcc15bcf551e810b26a7378.tar.gz
advtime-d8773bd96bf1d9e00fcc15bcf551e810b26a7378.tar.bz2
advtime-d8773bd96bf1d9e00fcc15bcf551e810b26a7378.zip
video_decode: Quient libav if DEBUG is disabled
Diffstat (limited to 'src')
-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;