summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/dsputil.c2
-rw-r--r--libavcodec/h263.c3
-rw-r--r--libavcodec/mpegaudiodec.c1
-rw-r--r--libavcodec/msmpeg4.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 0c1bf1841c..ff260103bd 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -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;
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index d862a123f7..5ced0eba55 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -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) {
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 75bc858f89..21ce1403dd 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -2481,6 +2481,7 @@ static int decode_frame(AVCodecContext * avctx,
break;
}
next_data:
+ ;
}
return buf_ptr - buf;
}
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 2c4a31989a..157d4fa778 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -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;