This commit is contained in:
veejay
2023-09-17 15:02:03 +02:00
parent f7a586fcfb
commit d33aa35fbf

View File

@@ -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;