summaryrefslogtreecommitdiff
path: root/codec.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-21 12:50:14 +0100
committerJohns <johns98@gmx.net>2011-12-22 18:01:17 +0100
commitafd7dfe40218fba6172625c51798787a48fce9af (patch)
treea543bc7592e91e5b717407fef5e5424f3e9acd55 /codec.c
parent37192d5b5394a9208a720058f704e433baa70aea (diff)
downloadvdr-plugin-softhddevice-afd7dfe40218fba6172625c51798787a48fce9af.tar.gz
vdr-plugin-softhddevice-afd7dfe40218fba6172625c51798787a48fce9af.tar.bz2
Initial vdpau support.
Diffstat (limited to 'codec.c')
-rw-r--r--codec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/codec.c b/codec.c
index c248bd7..d4e169b 100644
--- a/codec.c
+++ b/codec.c
@@ -740,8 +740,10 @@ static void CodecNoopCallback( __attribute__ ((unused))
void CodecInit(void)
{
#ifndef DEBUG
- // display ffmpeg error messages
+ // disable display ffmpeg error messages
av_log_set_callback(CodecNoopCallback);
+#else
+ (void)CodecNoopCallback;
#endif
avcodec_register_all(); // register all formats and codecs
}