Minor warning cleanup.
authorFalk Hüffner <mellum@users.sourceforge.net>
Mon, 3 Jun 2002 11:16:11 +0000 (11:16 +0000)
committerFalk Hüffner <mellum@users.sourceforge.net>
Mon, 3 Jun 2002 11:16:11 +0000 (11:16 +0000)
Originally committed as revision 654 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dsputil.c
libavcodec/h263.c
libavcodec/mpegaudiodec.c
libavcodec/msmpeg4.c

index 0c1bf18..ff26010 100644 (file)
@@ -144,7 +144,7 @@ UINT8 zigzag_end[64];
 UINT8 permutation[64];
 //UINT8 invPermutation[64];
 
-static void build_zigzag_end()
+static void build_zigzag_end(void)
 {
     int lastIndex;
     int lastIndexAfterPerm=0;
index d862a12..5ced0eb 100644 (file)
@@ -1017,7 +1017,7 @@ static void init_mv_penalty_and_fcode(MpegEncContext *s)
     }
 }
 
-static void init_uni_dc_tab()
+static void init_uni_dc_tab(void)
 {
     int level, uni_code, uni_len;
 
@@ -1367,7 +1367,6 @@ static inline int mpeg4_pred_dc(MpegEncContext * s, int n, UINT16 **dc_val_ptr,
 {
     int a, b, c, wrap, pred, scale;
     UINT16 *dc_val;
-    int dummy;
 
     /* find prediction */
     if (n < 4) {
index 75bc858..21ce140 100644 (file)
@@ -2481,6 +2481,7 @@ static int decode_frame(AVCodecContext * avctx,
            break;
        }
     next_data:
+       ;
     }
     return buf_ptr - buf;
 }
index 2c4a319..157d4fa 100644 (file)
@@ -53,7 +53,7 @@ static int msmpeg4_decode_dc(MpegEncContext * s, int n, int *dir_ptr);
 static int msmpeg4_decode_motion(MpegEncContext * s, 
                                  int *mx_ptr, int *my_ptr);
 static void msmpeg4v2_encode_motion(MpegEncContext * s, int val);
-static void init_h263_dc_for_msmpeg4();
+static void init_h263_dc_for_msmpeg4(void);
 
 
 extern UINT32 inverse[256];
@@ -698,7 +698,7 @@ static VLC v1_intra_cbpc_vlc;
 static VLC v1_inter_cbpc_vlc;
 
 /* this table is practically identical to the one from h263 except that its inverted */
-static void init_h263_dc_for_msmpeg4()
+static void init_h263_dc_for_msmpeg4(void)
 {
     static int inited=0;