avcodec/utils: Replace ENOTSUP by AVERROR_PATCHWELCOME
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Jun 2015 09:19:57 +0000 (11:19 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Jun 2015 09:19:57 +0000 (11:19 +0200)
ENOTSUP is not available on all platforms

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c

index 40ea544..e6d5227 100644 (file)
@@ -1180,7 +1180,7 @@ static int setup_hwaccel(AVCodecContext *avctx,
         avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
         av_log(avctx, AV_LOG_WARNING, "Ignoring experimental hwaccel: %s\n",
                hwa->name);
-        return AVERROR(ENOTSUP);
+        return AVERROR_PATCHWELCOME;
     }
 
     if (hwa->priv_data_size) {