summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.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/mpeg.c
parentc58222c56caf409244bb493db4fa9199d908db50 (diff)
init_put_bits changed
Originally committed as revision 2369 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 98103a6b28..b7add0dff9 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -71,7 +71,7 @@ static int put_pack_header(AVFormatContext *ctx,
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 @@ static int put_system_header(AVFormatContext *ctx, uint8_t *buf)
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);