summaryrefslogtreecommitdiff
path: root/libavcodec/msmpeg4.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-05-02 22:14:42 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-02 22:14:42 +0000
commit8b975b7ca5b2a18c8825e7e110854a11244cdf78 (patch)
treec4f80c7d1d276b58c2add6f7577642ee521b1cc4 /libavcodec/msmpeg4.c
parent5cc9a6dc19582277c0cb5532b0ca3a54edeedf7d (diff)
downloadffmpeg-8b975b7ca5b2a18c8825e7e110854a11244cdf78.tar.gz
put most codecs under ifdefs
Originally committed as revision 4173 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r--libavcodec/msmpeg4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 85b492a7cf..3c28b8ee4f 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -177,10 +177,12 @@ static void common_init(MpegEncContext * s)
s->y_dc_scale_table= wmv1_y_dc_scale_table;
s->c_dc_scale_table= wmv1_c_dc_scale_table;
break;
+#if defined(CONFIG_WMV3_DECODER)||defined(CONFIG_VC9_DECODER)
case 6:
s->y_dc_scale_table= wmv3_dc_scale_table;
s->c_dc_scale_table= wmv3_dc_scale_table;
break;
+#endif
}