From fa7252494c5682287111fef779e64cf4af83c01c Mon Sep 17 00:00:00 2001
From: Daniel Verkamp <daniel@drv.nu>
Date: Tue, 23 Feb 2010 08:10:01 +0000
Subject: [PATCH] Fix snow encoder dependencies

Originally committed as revision 21985 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure           | 1 +
 libavcodec/Makefile | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 0387b90286f..44cae34fc37 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 ef257d981bb..bb73ff65b89 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
-- 
GitLab