[FFmpeg-cvslog] avfilter/vf_mp: fix missing FF_API_XVMC check

Vallimar git at videolan.org
Mon Nov 18 01:32:39 CET 2013


ffmpeg | branch: master | Vallimar <vallimar at gmail.com> | Mon Nov 18 01:21:28 2013 +0100| [6f5c36832dfc28d8ace0e54eb24a2964d32424c3] | committer: Michael Niedermayer

avfilter/vf_mp: fix missing FF_API_XVMC check

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavfilter/vf_mp.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavfilter/vf_mp.c b/libavfilter/vf_mp.c
index f32c81f..2c145ab 100644
--- a/libavfilter/vf_mp.c
+++ b/libavfilter/vf_mp.c
@@ -111,8 +111,11 @@ static const struct {
     {IMGFMT_444P,  AV_PIX_FMT_YUVJ444P},
     {IMGFMT_440P,  AV_PIX_FMT_YUVJ440P},
 
+#if FF_API_XVMC
     {IMGFMT_XVMC_MOCO_MPEG2, AV_PIX_FMT_XVMC_MPEG2_MC},
     {IMGFMT_XVMC_IDCT_MPEG2, AV_PIX_FMT_XVMC_MPEG2_IDCT},
+#endif /* FF_API_XVMC */
+
     {IMGFMT_VDPAU_MPEG1,     AV_PIX_FMT_VDPAU_MPEG1},
     {IMGFMT_VDPAU_MPEG2,     AV_PIX_FMT_VDPAU_MPEG2},
     {IMGFMT_VDPAU_H264,      AV_PIX_FMT_VDPAU_H264},



More information about the ffmpeg-cvslog mailing list