diff mpegvideo_common.h @ 10745:a47f207fe4b5 libavcodec

Get rid of pointless CONFIG_WMV2 definition.
author diego
date Wed, 30 Dec 2009 02:08:25 +0000
parents ce2cf9e32b09
children 7dd2a45249a9
line wrap: on
line diff
--- a/mpegvideo_common.h	Wed Dec 30 02:01:19 2009 +0000
+++ b/mpegvideo_common.h	Wed Dec 30 02:08:25 2009 +0000
@@ -727,7 +727,7 @@
                         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);