diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-27 11:19:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-27 11:19:57 +0200 |
commit | aab4dbe534e2272fc18e978d921ab696cb067407 (patch) | |
tree | 832043f673c35ceafbfd0a6603da0b7fa25532fe /libavcodec/utils.c | |
parent | b69bea3ab8f83b4cac7091d648d27c3be3efbc28 (diff) | |
download | ffmpeg-aab4dbe534e2272fc18e978d921ab696cb067407.tar.gz |
avcodec/utils: Replace ENOTSUP by AVERROR_PATCHWELCOME
ENOTSUP is not available on all platforms
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 40ea5440b8..e6d5227c22 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -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) { |