avcodec/utils: Replace ENOTSUP by AVERROR_PATCHWELCOME

ENOTSUP is not available on all platforms

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-27 11:19:57 +02:00
parent b69bea3ab8
commit aab4dbe534

View 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) {