From f500378f0d746e6c0c56986eb4437700991f2d3f Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Wed, 4 Aug 2004 16:27:16 +0000 Subject: some compilers do not optimize these unused functions away themselves, so they will lead to unresolved symbols (closes bug #1002430) CVS patchset: 6874 CVS date: 2004/08/04 16:27:16 --- src/libffmpeg/libavcodec/mpegvideo.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libffmpeg/libavcodec') diff --git a/src/libffmpeg/libavcodec/mpegvideo.c b/src/libffmpeg/libavcodec/mpegvideo.c index f86238570..460fdbb32 100644 --- a/src/libffmpeg/libavcodec/mpegvideo.c +++ b/src/libffmpeg/libavcodec/mpegvideo.c @@ -3926,6 +3926,8 @@ static int sse_mb(MpegEncContext *s){ +sse(s, s->new_picture.data[2] + s->mb_x*8 + s->mb_y*s->uvlinesize*8,s->dest[2], w>>1, h>>1, s->uvlinesize); } +/* xine: do not need this for decode or MPEG-1 encoding modes */ +#if 0 static int pre_estimate_motion_thread(AVCodecContext *c, void *arg){ MpegEncContext *s= arg; @@ -3969,6 +3971,7 @@ static int estimate_motion_thread(AVCodecContext *c, void *arg){ } return 0; } +#endif static int mb_var_thread(AVCodecContext *c, void *arg){ MpegEncContext *s= arg; -- cgit v1.2.3