changeset 276:3dd3646e0164 libavformat

init_put_bits changed
author alex
date Mon, 13 Oct 2003 10:59:57 +0000
parents 377bd276adaa
children a313e1080322
files gif.c mpeg.c swf.c
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gif.c	Sat Oct 04 17:41:56 2003 +0000
+++ b/gif.c	Mon Oct 13 10:59:57 2003 +0000
@@ -240,7 +240,7 @@
 
     left= width * height;
 
-    init_put_bits(&p, buffer, 130, NULL, NULL);
+    init_put_bits(&p, buffer, 130);
 
 /*
  * the thing here is the bitstream is written as little packets, with a size byte before
--- a/mpeg.c	Sat Oct 04 17:41:56 2003 +0000
+++ b/mpeg.c	Mon Oct 13 10:59:57 2003 +0000
@@ -71,7 +71,7 @@
     MpegMuxContext *s = ctx->priv_data;
     PutBitContext pb;
     
-    init_put_bits(&pb, buf, 128, NULL, NULL);
+    init_put_bits(&pb, buf, 128);
 
     put_bits(&pb, 32, PACK_START_CODE);
     if (s->is_mpeg2) {
@@ -107,7 +107,7 @@
     int size, rate_bound, i, private_stream_coded, id;
     PutBitContext pb;
 
-    init_put_bits(&pb, buf, 128, NULL, NULL);
+    init_put_bits(&pb, buf, 128);
 
     put_bits(&pb, 32, SYSTEM_HEADER_START_CODE);
     put_bits(&pb, 16, 0);
--- a/swf.c	Sat Oct 04 17:41:56 2003 +0000
+++ b/swf.c	Mon Oct 13 10:59:57 2003 +0000
@@ -110,7 +110,7 @@
     uint8_t buf[256];
     int nbits, mask;
 
-    init_put_bits(&p, buf, sizeof(buf), NULL, NULL);
+    init_put_bits(&p, buf, sizeof(buf));
     
     nbits = 0;
     max_nbits(&nbits, xmin);
@@ -166,7 +166,7 @@
     PutBitContext p;
     uint8_t buf[256];
 
-    init_put_bits(&p, buf, sizeof(buf), NULL, NULL);
+    init_put_bits(&p, buf, sizeof(buf));
     
     put_bits(&p, 1, 1); /* a, d present */
     put_bits(&p, 5, 20); /* nb bits */
@@ -251,7 +251,7 @@
     put_byte(pb, 0); /* no line style */
     
     /* shape drawing */
-    init_put_bits(&p, buf1, sizeof(buf1), NULL, NULL);
+    init_put_bits(&p, buf1, sizeof(buf1));
     put_bits(&p, 4, 1); /* one fill bit */
     put_bits(&p, 4, 0); /* zero line bit */