[FFmpeg-devel] [PATCH 3/3] lavu: comment out wrong value check in get_version() after api bump.

Ronald S. Bultje rsbultje at gmail.com
Mon Aug 17 23:08:01 CEST 2015


---
 libavutil/utils.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/utils.c b/libavutil/utils.c
index 2e3b1e0..e337c83 100644
--- a/libavutil/utils.c
+++ b/libavutil/utils.c
@@ -41,7 +41,9 @@ unsigned avutil_version(void)
     if (checks_done)
         return LIBAVUTIL_VERSION_INT;
 
+#if FF_API_VDPAU
     av_assert0(AV_PIX_FMT_VDA_VLD == 81); //check if the pix fmt enum has not had anything inserted or removed by mistake
+#endif
     av_assert0(AV_SAMPLE_FMT_DBLP == 9);
     av_assert0(AVMEDIA_TYPE_ATTACHMENT == 4);
     av_assert0(AV_PICTURE_TYPE_BI == 7);
-- 
2.1.2



More information about the ffmpeg-devel mailing list