[FFmpeg-cvslog] avcodec/qsvenc: fix version detection on cygwin

Timo Rothenpieler git at videolan.org
Wed Jun 27 17:05:40 EEST 2018


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Fri Jun 15 16:52:28 2018 +0200| [3f953379e1c7f7d6e08847c3cd91f1d3b628cc4f] | committer: Timo Rothenpieler

avcodec/qsvenc: fix version detection on cygwin

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3f953379e1c7f7d6e08847c3cd91f1d3b628cc4f
---

 libavcodec/qsvenc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index d48272224c..bb175c5df8 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -45,7 +45,7 @@
 #define QSV_HAVE_LA_DS  QSV_VERSION_ATLEAST(1, 8)
 #define QSV_HAVE_LA_HRD QSV_VERSION_ATLEAST(1, 11)
 
-#if defined(_WIN32)
+#if defined(_WIN32) || defined(__CYGWIN__)
 #define QSV_HAVE_AVBR   QSV_VERSION_ATLEAST(1, 3)
 #define QSV_HAVE_ICQ    QSV_VERSION_ATLEAST(1, 8)
 #define QSV_HAVE_VCM    QSV_VERSION_ATLEAST(1, 8)



More information about the ffmpeg-cvslog mailing list