Mercurial > libavcodec.hg
diff dsputil.c @ 5277:7b3fcb7c61ce libavcodec
Avoid linking with h263.c functions when the relevant codecs
are not compiled in.
author | aurel |
---|---|
date | Tue, 10 Jul 2007 20:23:08 +0000 |
parents | f540f39e1472 |
children | ef85411bb7e8 |
line wrap: on
line diff
--- a/dsputil.c Tue Jul 10 17:50:44 2007 +0000 +++ b/dsputil.c Tue Jul 10 20:23:08 2007 +0000 @@ -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 @@ 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;