summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo_common.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-12-30 02:08:25 +0000
committerDiego Biurrun <diego@biurrun.de>2009-12-30 02:08:25 +0000
commitd702a2e6c688fd6b99e2cb0fd3f32bb8b5307faa (patch)
treeeee389a0773c71ac2f7555d1f45c9ba92d94002e /libavcodec/mpegvideo_common.h
parentb928b1bb011e5f8971eb0fc87400cdc6687af0b3 (diff)
downloadffmpeg-d702a2e6c688fd6b99e2cb0fd3f32bb8b5307faa.tar.gz
Get rid of pointless CONFIG_WMV2 definition.
Originally committed as revision 20971 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo_common.h')
-rw-r--r--libavcodec/mpegvideo_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_common.h b/libavcodec/mpegvideo_common.h
index dc817fd600..b24b864bf7 100644
--- a/libavcodec/mpegvideo_common.h
+++ b/libavcodec/mpegvideo_common.h
@@ -727,7 +727,7 @@ static av_always_inline void MPV_motion_internal(MpegEncContext *s,
0, 0, 0,
ref_picture, pix_op, qpix_op,
s->mv[dir][0][0], s->mv[dir][0][1], 16);
- }else if(!is_mpeg12 && CONFIG_WMV2 && s->mspel){
+ }else if(!is_mpeg12 && (CONFIG_WMV2_DECODER || CONFIG_WMV2_ENCODER) && s->mspel){
ff_mspel_motion(s, dest_y, dest_cb, dest_cr,
ref_picture, pix_op,
s->mv[dir][0][0], s->mv[dir][0][1], 16);