summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2004-02-06 15:27:31 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2004-02-06 15:27:31 +0000
commitfe455f3328ca1ae4b71a345f50936d19f30e5c5f (patch)
tree82a5a6b41535a9a8b2d6efa20d5418931480e2b7 /libavcodec/mpeg12.c
parentde7ff1f774e2610d9ac23d2613a9f7e19e8c0f9d (diff)
get_bit_count -> put_bits_count
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 3edad5b802..a66ea134ca 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -379,7 +379,7 @@ void mpeg1_encode_picture_header(MpegEncContext *s, int picture_number)
s->gop_picture_number) & 0x3ff);
put_bits(&s->pb, 3, s->pict_type);
- s->vbv_delay_ptr= s->pb.buf + get_bit_count(&s->pb)/8;
+ s->vbv_delay_ptr= s->pb.buf + put_bits_count(&s->pb)/8;
put_bits(&s->pb, 16, 0xFFFF); /* vbv_delay */
// RAL: Forward f_code also needed for B frames