[FFmpeg-cvslog] avcodec/utils: Replace ENOTSUP by AVERROR_PATCHWELCOME
Michael Niedermayer
git at videolan.org
Sat Jun 27 11:30:38 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jun 27 11:19:57 2015 +0200| [aab4dbe534e2272fc18e978d921ab696cb067407] | committer: Michael Niedermayer
avcodec/utils: Replace ENOTSUP by AVERROR_PATCHWELCOME
ENOTSUP is not available on all platforms
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aab4dbe534e2272fc18e978d921ab696cb067407
---
libavcodec/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 40ea544..e6d5227 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) {
More information about the ffmpeg-cvslog
mailing list