changeset 468:1e23eae32087 libavcodec

Minor warning cleanup.
author mellum
date Mon, 03 Jun 2002 11:16:11 +0000
parents ad65941c8eb5
children a5dd4eae1f0c
files dsputil.c h263.c mpegaudiodec.c msmpeg4.c
diffstat 4 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.c	Mon Jun 03 07:58:35 2002 +0000
+++ b/dsputil.c	Mon Jun 03 11:16:11 2002 +0000
@@ -144,7 +144,7 @@
 UINT8 permutation[64];
 //UINT8 invPermutation[64];
 
-static void build_zigzag_end()
+static void build_zigzag_end(void)
 {
     int lastIndex;
     int lastIndexAfterPerm=0;
--- a/h263.c	Mon Jun 03 07:58:35 2002 +0000
+++ b/h263.c	Mon Jun 03 11:16:11 2002 +0000
@@ -1017,7 +1017,7 @@
     }
 }
 
-static void init_uni_dc_tab()
+static void init_uni_dc_tab(void)
 {
     int level, uni_code, uni_len;
 
@@ -1367,7 +1367,6 @@
 {
     int a, b, c, wrap, pred, scale;
     UINT16 *dc_val;
-    int dummy;
 
     /* find prediction */
     if (n < 4) {
--- a/mpegaudiodec.c	Mon Jun 03 07:58:35 2002 +0000
+++ b/mpegaudiodec.c	Mon Jun 03 11:16:11 2002 +0000
@@ -2481,6 +2481,7 @@
 	    break;
 	}
     next_data:
+	;
     }
     return buf_ptr - buf;
 }
--- a/msmpeg4.c	Mon Jun 03 07:58:35 2002 +0000
+++ b/msmpeg4.c	Mon Jun 03 11:16:11 2002 +0000
@@ -53,7 +53,7 @@
 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_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;