aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2003-12-13 02:14:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-12-13 02:14:18 +0000
commit0c11692a1d0fb006713c2174809ba60985f4a28e (patch)
treed62db40f849b2366876702cc07ec5e695e354b62 /libavcodec/mpegvideo.c
parent864119b6caa120c0dd9b9ad9a0ceea59fcbdd23f (diff)
downloadffmpeg-0c11692a1d0fb006713c2174809ba60985f4a28e.tar.gz
Here are juste two added #ifdef CONFIG_ENCODERS to allow
libavcodec to compile without CONFIG_ENCODERS defined patch by (Aurelien Jacobs <aurel at gnuage dot org>) Originally committed as revision 2604 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 2f214862c7..18a5b3b1fc 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -4362,6 +4362,8 @@ static void encode_picture(MpegEncContext *s, int picture_number)
}
}
+#endif //CONFIG_ENCODERS
+
void ff_denoise_dct(MpegEncContext *s, DCTELEM *block){
const int intra= s->mb_intra;
int i;
@@ -4386,6 +4388,8 @@ void ff_denoise_dct(MpegEncContext *s, DCTELEM *block){
}
}
+#ifdef CONFIG_ENCODERS
+
static int dct_quantize_trellis_c(MpegEncContext *s,
DCTELEM *block, int n,
int qscale, int *overflow){