[FFmpeg-cvslog] lavu: disable wrong value check in get_version() upon api bump.

Ronald S. Bultje git at videolan.org
Tue Aug 18 22:06:06 CEST 2015


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sun Aug 16 19:41:17 2015 -0400| [87068ea5c5c800ff9bf1c3fa83665f63b07a7951] | committer: Ronald S. Bultje

lavu: disable wrong value check in get_version() upon api bump.

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

 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);



More information about the ffmpeg-cvslog mailing list