# HG changeset patch # User diego # Date 1233779797 0 # Node ID 037e54d6c9c346a634b6075085e0072955a719d7 # Parent 08f9871b035b5b34b11eba724fd3d88c87f2fd9c Remove pointless '#if CONFIG_ENCODERS' around forward declarations. diff -r 08f9871b035b -r 037e54d6c9c3 h263.c --- a/h263.c Wed Feb 04 16:16:53 2009 +0000 +++ b/h263.c Wed Feb 04 20:36:37 2009 +0000 @@ -55,7 +55,6 @@ #define H263_MBTYPE_B_VLC_BITS 6 #define CBPC_B_VLC_BITS 3 -#if CONFIG_ENCODERS static void h263_encode_block(MpegEncContext * s, DCTELEM * block, int n); static void h263p_encode_umotion(MpegEncContext * s, int val); @@ -64,7 +63,6 @@ PutBitContext *dc_pb, PutBitContext *ac_pb); static int mpeg4_get_block_length(MpegEncContext * s, DCTELEM * block, int n, int intra_dc, uint8_t *scan_table); -#endif static int h263_decode_motion(MpegEncContext * s, int pred, int fcode); static int h263p_decode_umotion(MpegEncContext * s, int pred); @@ -73,11 +71,11 @@ static inline int mpeg4_decode_dc(MpegEncContext * s, int n, int *dir_ptr); static inline int mpeg4_decode_block(MpegEncContext * s, DCTELEM * block, int n, int coded, int intra, int rvlc); -#if CONFIG_ENCODERS + static int h263_pred_dc(MpegEncContext * s, int n, int16_t **dc_val_ptr); static void mpeg4_encode_visual_object_header(MpegEncContext * s); static void mpeg4_encode_vol_header(MpegEncContext * s, int vo_number, int vol_number); -#endif //CONFIG_ENCODERS + static void mpeg4_decode_sprite_trajectory(MpegEncContext * s, GetBitContext *gb); static inline int ff_mpeg4_pred_dc(MpegEncContext * s, int n, int level, int *dir_ptr, int encoding);