Commit aab4dbe5 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/utils: Replace ENOTSUP by AVERROR_PATCHWELCOME

ENOTSUP is not available on all platforms
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b69bea3a
...@@ -1180,7 +1180,7 @@ static int setup_hwaccel(AVCodecContext *avctx, ...@@ -1180,7 +1180,7 @@ static int setup_hwaccel(AVCodecContext *avctx,
avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) { avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
av_log(avctx, AV_LOG_WARNING, "Ignoring experimental hwaccel: %s\n", av_log(avctx, AV_LOG_WARNING, "Ignoring experimental hwaccel: %s\n",
hwa->name); hwa->name);
return AVERROR(ENOTSUP); return AVERROR_PATCHWELCOME;
} }
if (hwa->priv_data_size) { if (hwa->priv_data_size) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment