mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
b69bea3ab8
commit
aab4dbe534
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue