diff mpeg12.c @ 1904:129236143f2e libavcodec

warning patrol
author mellum
date Wed, 24 Mar 2004 23:32:48 +0000
parents c94b19667d8b
children 284fb24da44d
line wrap: on
line diff
--- a/mpeg12.c	Mon Mar 22 20:54:04 2004 +0000
+++ b/mpeg12.c	Wed Mar 24 23:32:48 2004 +0000
@@ -242,7 +242,7 @@
 {
         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_btype_vlc;
 static VLC mb_pat_vlc;
 
-static void init_vlcs()
+static void init_vlcs(void)
 {
     static int done = 0;
 
@@ -2821,7 +2821,7 @@
         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 */