From d33aa35fbf21a751ded3721ee8bb8a0c62f03bf2 Mon Sep 17 00:00:00 2001 From: veejay <> Date: Sun, 17 Sep 2023 15:02:03 +0200 Subject: [PATCH] WIP --- veejay-current/veejay-server/libel/avhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/veejay-current/veejay-server/libel/avhelper.c b/veejay-current/veejay-server/libel/avhelper.c index c1b26a7b..99549eb5 100644 --- a/veejay-current/veejay-server/libel/avhelper.c +++ b/veejay-current/veejay-server/libel/avhelper.c @@ -146,7 +146,7 @@ int avhelper_hwaccel(AVCodecContext *codec_context) { for( i = 0;; i++ ) { - AVCodecHWConfig *hw_config = avcodec_get_hw_config(codec_context,i); + AVCodecHWConfig *hw_config = avcodec_get_hw_config(codec_context->codec,i); if(!hw_config) { veejay_msg(0, "Decoder %s does not support hwaccel", codec_context->codec->name); return 0;