diff mpegvideo.c @ 1522:79dddc5cd990 libavcodec

removed the obsolete and unused parameters of init_put_bits
author alex
date Sun, 12 Oct 2003 21:25:00 +0000
parents 010f76d07a27
children 925bcd748f4b
line wrap: on
line diff
--- a/mpegvideo.c	Sun Oct 12 19:18:37 2003 +0000
+++ b/mpegvideo.c	Sun Oct 12 21:25:00 2003 +0000
@@ -1601,7 +1601,7 @@
         return -1;
     }
     
-    init_put_bits(&s->pb, buf, buf_size, NULL, NULL);
+    init_put_bits(&s->pb, buf, buf_size);
 
     s->picture_in_gop_number++;
 
@@ -3326,9 +3326,9 @@
     PutBitContext pb[2], pb2[2], tex_pb[2];
 
     for(i=0; i<2; i++){
-        init_put_bits(&pb    [i], bit_buf    [i], 3000, NULL, NULL);
-        init_put_bits(&pb2   [i], bit_buf2   [i], 3000, NULL, NULL);
-        init_put_bits(&tex_pb[i], bit_buf_tex[i], 3000, NULL, NULL);
+        init_put_bits(&pb    [i], bit_buf    [i], 3000);
+        init_put_bits(&pb2   [i], bit_buf2   [i], 3000);
+        init_put_bits(&tex_pb[i], bit_buf_tex[i], 3000);
     }
 
     s->picture_number = picture_number;