Commit 20695ec9 authored by Falk Hüffner's avatar Falk Hüffner

Minor warning cleanup.

Originally committed as revision 654 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8696b636
...@@ -144,7 +144,7 @@ UINT8 zigzag_end[64]; ...@@ -144,7 +144,7 @@ UINT8 zigzag_end[64];
UINT8 permutation[64]; UINT8 permutation[64];
//UINT8 invPermutation[64]; //UINT8 invPermutation[64];
static void build_zigzag_end() static void build_zigzag_end(void)
{ {
int lastIndex; int lastIndex;
int lastIndexAfterPerm=0; int lastIndexAfterPerm=0;
......
...@@ -1017,7 +1017,7 @@ static void init_mv_penalty_and_fcode(MpegEncContext *s) ...@@ -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; int level, uni_code, uni_len;
...@@ -1367,7 +1367,6 @@ static inline int mpeg4_pred_dc(MpegEncContext * s, int n, UINT16 **dc_val_ptr, ...@@ -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; int a, b, c, wrap, pred, scale;
UINT16 *dc_val; UINT16 *dc_val;
int dummy;
/* find prediction */ /* find prediction */
if (n < 4) { if (n < 4) {
......
...@@ -2481,6 +2481,7 @@ static int decode_frame(AVCodecContext * avctx, ...@@ -2481,6 +2481,7 @@ static int decode_frame(AVCodecContext * avctx,
break; break;
} }
next_data: next_data:
;
} }
return buf_ptr - buf; return buf_ptr - buf;
} }
......
...@@ -53,7 +53,7 @@ static int msmpeg4_decode_dc(MpegEncContext * s, int n, int *dir_ptr); ...@@ -53,7 +53,7 @@ static int msmpeg4_decode_dc(MpegEncContext * s, int n, int *dir_ptr);
static int msmpeg4_decode_motion(MpegEncContext * s, static int msmpeg4_decode_motion(MpegEncContext * s,
int *mx_ptr, int *my_ptr); int *mx_ptr, int *my_ptr);
static void msmpeg4v2_encode_motion(MpegEncContext * s, int val); 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]; extern UINT32 inverse[256];
...@@ -698,7 +698,7 @@ static VLC v1_intra_cbpc_vlc; ...@@ -698,7 +698,7 @@ static VLC v1_intra_cbpc_vlc;
static VLC v1_inter_cbpc_vlc; static VLC v1_inter_cbpc_vlc;
/* this table is practically identical to the one from h263 except that its inverted */ /* 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; static int inited=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment