]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Minor warning cleanup.
authormellum <mellum@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 3 Jun 2002 11:16:11 +0000 (11:16 +0000)
committermellum <mellum@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 3 Jun 2002 11:16:11 +0000 (11:16 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@654 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

index 0c1bf1841c9959a6ed15089e40271e24b3c68043..ff260103bd271cb0e4bfbb2e8be07a9a55ff1fdc 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 d862a123f7b39a37633b28d6cf3fc1825c41ea58..5ced0eba55b799792c09067e87853a1075a1d638 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 75bc858f8923d00b5a159dd0579248d31de5f842..21ce1403dda84e60817ac28022a513e014e6c373 100644 (file)
@@ -2481,6 +2481,7 @@ static int decode_frame(AVCodecContext * avctx,
            break;
        }
     next_data:
+       ;
     }
     return buf_ptr - buf;
 }
index 2c4a31989a88d58dbece04532a563c7e4929c7b6..157d4fa7784bdad53772af8b73e3b1caa8fee09b 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;