summaryrefslogtreecommitdiff
path: root/libavformat/swf.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2003-10-13 10:59:57 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2003-10-13 10:59:57 +0000
commit117a5490bd57adcb0be3274222e89fc6c7107f8b (patch)
treec66d8b12e4e17a2c9fb15196bd5fe7a3781e8e84 /libavformat/swf.c
parentc58222c56caf409244bb493db4fa9199d908db50 (diff)
init_put_bits changed
Originally committed as revision 2369 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/swf.c')
-rw-r--r--libavformat/swf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/swf.c b/libavformat/swf.c
index 5a93ae509a..f97a02e3d4 100644
--- a/libavformat/swf.c
+++ b/libavformat/swf.c
@@ -110,7 +110,7 @@ static void put_swf_rect(ByteIOContext *pb,
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 @@ static void put_swf_matrix(ByteIOContext *pb,
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 @@ static int swf_write_header(AVFormatContext *s)
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 */