From e9fbe6b54f17774701cd7f62cf4d778760d1a178 Mon Sep 17 00:00:00 2001 From: Johns Date: Fri, 17 Aug 2012 10:35:52 +0200 Subject: [PATCH] Need get_format for software decoder. --- codec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/codec.c b/codec.c index 5707d6c..38702b3 100644 --- a/codec.c +++ b/codec.c @@ -431,6 +431,7 @@ void CodecVideoOpen(VideoDecoder * decoder, const char *name, int codec_id) decoder->VideoCtx->thread_count = 1; decoder->VideoCtx->active_thread_type = 0; } else { + decoder->VideoCtx->get_format = Codec_get_format; decoder->VideoCtx->hwaccel_context = VideoGetVaapiContext(decoder->HwDecoder); }