diff --git a/configure b/configure
index 0387b90286fca0493fcc9ae6f1a340649bbc47f8..44cae34fc377678a0d3e34d08251fa5d533f8763 100755
--- a/configure
+++ b/configure
@@ -1265,6 +1265,7 @@ rv20_encoder_select="h263_encoder"
 rv30_decoder_select="golomb"
 rv40_decoder_select="golomb"
 shorten_decoder_select="golomb"
+snow_encoder_select="aandct"
 sonic_decoder_select="golomb"
 sonic_encoder_select="golomb"
 sonic_ls_encoder_select="golomb"
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index ef257d981bb7b18b17ed895fc303be16baa72259..bb73ff65b89002d35126cd1dd35934a7d2f5f2ee 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -285,7 +285,7 @@ OBJS-$(CONFIG_SNOW_DECODER)            += snow.o rangecoder.o
 OBJS-$(CONFIG_SNOW_ENCODER)            += snow.o rangecoder.o motion_est.o \
                                           ratecontrol.o h263.o             \
                                           mpegvideo.o error_resilience.o   \
-                                          ituh263enc.o mpegvideo_enc.o
+                                          ituh263enc.o mpegvideo_enc.o mpeg12data.o
 OBJS-$(CONFIG_SOL_DPCM_DECODER)        += dpcm.o
 OBJS-$(CONFIG_SONIC_DECODER)           += sonic.o
 OBJS-$(CONFIG_SONIC_ENCODER)           += sonic.o