summaryrefslogtreecommitdiff
path: root/codec.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-01-22 22:46:52 +0100
committerJohns <johns98@gmx.net>2012-01-22 22:46:52 +0100
commit1969b2a0a760c94e7b05aa209df4449545130a93 (patch)
tree43c28eebbb869512224438e8a728abe88040158d /codec.c
parent0fad02285dd983bd22fb9795698e4c3c88d21038 (diff)
downloadvdr-plugin-softhddevice-1969b2a0a760c94e7b05aa209df4449545130a93.tar.gz
vdr-plugin-softhddevice-1969b2a0a760c94e7b05aa209df4449545130a93.tar.bz2
Fix bug: close codec missing.
Diffstat (limited to 'codec.c')
-rw-r--r--codec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/codec.c b/codec.c
index fb373d5..a50187c 100644
--- a/codec.c
+++ b/codec.c
@@ -357,6 +357,10 @@ void CodecVideoOpen(VideoDecoder * decoder, const char *name, int codec_id)
Debug(3, "codec: using codec %s or ID %#04x\n", name, codec_id);
+ if ( decoder->VideoCtx ) {
+ Error(_("codec: missing close\n"));
+ }
+
//
// ffmpeg compatibility hack
//