diff options
author | Falk Hüffner <mellum@users.sourceforge.net> | 2004-03-24 23:32:48 +0000 |
---|---|---|
committer | Falk Hüffner <mellum@users.sourceforge.net> | 2004-03-24 23:32:48 +0000 |
commit | 7906085fcc33feb5a0c617f5e01065bb9d0caa86 (patch) | |
tree | 830c3feb8c2c6333c5581ab5ae54d06ff267cc7d /libavcodec/mpeg12.c | |
parent | d957696f173ab3c9f222ab097669ed8f0b3951c2 (diff) | |
download | ffmpeg-7906085fcc33feb5a0c617f5e01065bb9d0caa86.tar.gz |
warning patrol
Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 4d2943a6cd..e4f5f26825 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -242,7 +242,7 @@ static void mpeg1_encode_sequence_header(MpegEncContext *s) { unsigned int vbv_buffer_size; unsigned int fps, v; - int n, i; + int i; uint64_t time_code; float best_aspect_error= 1E10; float aspect_ratio= av_q2d(s->avctx->sample_aspect_ratio); @@ -954,7 +954,7 @@ static VLC mb_ptype_vlc; static VLC mb_btype_vlc; static VLC mb_pat_vlc; -static void init_vlcs() +static void init_vlcs(void) { static int done = 0; @@ -2821,7 +2821,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx, input_size = buf_end - buf_ptr; if(avctx->debug & FF_DEBUG_STARTCODE){ - av_log(avctx, AV_LOG_DEBUG, "%3X at %d left %d\n", start_code, buf_ptr-buf, input_size); + av_log(avctx, AV_LOG_DEBUG, "%3X at %zd left %d\n", start_code, buf_ptr-buf, input_size); } /* prepare data for next start code */ |