diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-06-12 22:14:13 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-06-12 22:14:13 +0000 |
commit | d9c6d7c2b4036966cff70f21ee57cbab7b45f9f3 (patch) | |
tree | 7118dd5963b3818016fdfe8920ec9a2b743831e8 | |
parent | 4c8a9e3862b01435eab95cebbf60358d9ba10cf1 (diff) | |
download | xine-lib-d9c6d7c2b4036966cff70f21ee57cbab7b45f9f3.tar.gz xine-lib-d9c6d7c2b4036966cff70f21ee57cbab7b45f9f3.tar.bz2 |
not all compilers strip unused static functions from object files.
gcc 2.96 does not. this causes a bunch of undefined symbols:
undefined symbol: ff_init_me (../.libs/xineplug_decode_ff.so)
undefined symbol: ff_estimate_p_frame_motion (../.libs/xineplug_decode_ff.so)
undefined symbol: ff_fix_long_p_mvs (../.libs/xineplug_decode_ff.so)
undefined symbol: ff_fix_long_mvs (../.libs/xineplug_decode_ff.so)
undefined symbol: ff_h263_encode_motion (../.libs/xineplug_decode_ff.so)
undefined symbol: h263_encode_init (../.libs/xineplug_decode_ff.so)
Mike, can you merge this back to ffmpeg cvs?
CVS patchset: 6677
CVS date: 2004/06/12 22:14:13
-rw-r--r-- | src/libffmpeg/libavcodec/svq1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/svq1.c b/src/libffmpeg/libavcodec/svq1.c index a841816af..ec47d374e 100644 --- a/src/libffmpeg/libavcodec/svq1.c +++ b/src/libffmpeg/libavcodec/svq1.c @@ -1064,6 +1064,8 @@ static int encode_block(SVQ1Context *s, uint8_t *src, uint8_t *ref, uint8_t *dec return best_score; } +#ifdef CONFIG_ENCODERS + static void svq1_encode_plane(SVQ1Context *s, int plane, unsigned char *src_plane, unsigned char *ref_plane, unsigned char *decoded_plane, int width, int height, int src_stride, int stride) { @@ -1364,6 +1366,8 @@ static int svq1_encode_end(AVCodecContext *avctx) return 0; } +#endif //CONFIG_ENCODERS + AVCodec svq1_decoder = { "svq1", CODEC_TYPE_VIDEO, |