diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-07-10 20:23:08 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-07-10 20:23:08 +0000 |
commit | eb75a69818c15272e94de9aba8e87a2c3535437a (patch) | |
tree | 0abc4ce94139bf1d1e0dbdac6c7001ee5f3052f8 /libavcodec/dsputil.c | |
parent | f79488d426c3ac442b250ec1643a19d011f8594a (diff) | |
download | ffmpeg-eb75a69818c15272e94de9aba8e87a2c3535437a.tar.gz |
Avoid linking with h263.c functions when the relevant codecs
are not compiled in.
Originally committed as revision 9581 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 87435caa81..40f0339436 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -32,6 +32,7 @@ #include "mpegvideo.h" #include "simple_idct.h" #include "faandct.h" +#include "h263.h" #include "snow.h" /* snow.c */ @@ -4107,8 +4108,10 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx) c->h264_h_loop_filter_chroma_intra= h264_h_loop_filter_chroma_intra_c; c->h264_loop_filter_strength= NULL; + if (ENABLE_ANY_H263) { c->h263_h_loop_filter= h263_h_loop_filter_c; c->h263_v_loop_filter= h263_v_loop_filter_c; + } c->h261_loop_filter= h261_loop_filter_c; |