mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
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) {
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user