Originally committed as revision 6000 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -909,7 +909,11 @@ void mpeg4_pred_ac(MpegEncContext * s, DCTELEM *block, int n, · 908 unmodified lines | ||
| 909 | 909 | int dir); |
| 910 | 910 | void ff_set_mpeg4_time(MpegEncContext * s, int picture_number); |
| 911 | 911 | void mpeg4_encode_picture_header(MpegEncContext *s, int picture_number); |
| 912 | +#ifdef CONFIG_ENCODERS | |
| 912 | 913 | void h263_encode_init(MpegEncContext *s); |
| 914 | +#else | |
| 915 | +static void h263_encode_init(MpegEncContext *s) {assert(0);} | |
| 916 | +#endif | |
| 913 | 917 | void h263_decode_init_vlc(MpegEncContext *s); |
| 914 | 918 | int h263_decode_picture_header(MpegEncContext *s); |
| 915 | 919 | int ff_h263_decode_gob_header(MpegEncContext *s); |
| @@ -125,9 +125,13 @@ extern void ff_snow_vertical_compose97i(DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, D · 124 unmodified lines | ||
| 125 | 125 | extern void ff_snow_horizontal_compose97i(DWTELEM *b, int width); |
| 126 | 126 | extern void ff_snow_inner_add_yblock(uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h, int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8); |
| 127 | 127 | |
| 128 | +#ifdef CONFIG_SNOW_ENCODER | |
| 128 | 129 | int w53_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h); |
| 129 | 130 | int w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h); |
| 130 | − | |
| 131 | +#else | |
| 132 | +static int w53_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {assert (0);} | |
| 133 | +static int w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {assert (0);} | |
| 134 | +#endif | |
| 131 | 135 | |
| 132 | 136 | /* C bits used by mmx/sse2/altivec */ |
| 133 | 137 | |