diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-08-04 16:27:16 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-08-04 16:27:16 +0000 |
commit | f500378f0d746e6c0c56986eb4437700991f2d3f (patch) | |
tree | a01c6cc9aa8e3df4d35b4e8755ef41b76a306a84 /src/libffmpeg/libavcodec | |
parent | 6aebbf3d77fd0714f23e0335f8beafcdc715d4b3 (diff) | |
download | xine-lib-f500378f0d746e6c0c56986eb4437700991f2d3f.tar.gz xine-lib-f500378f0d746e6c0c56986eb4437700991f2d3f.tar.bz2 |
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
Diffstat (limited to 'src/libffmpeg/libavcodec')
-rw-r--r-- | src/libffmpeg/libavcodec/mpegvideo.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |