diff options
Diffstat (limited to 'codec.c')
-rw-r--r-- | codec.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 // |