diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-04-13 16:59:38 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-04-13 16:59:38 +0000 |
commit | fb53b4a035c3682f5a8ab4241bde797ced539945 (patch) | |
tree | 18322fdb724ea3ad2cd1e4927e0354bf38de7907 /libavcodec/h263.c | |
parent | 084c7cc54a60e05ee240354d8013f512dac04ad2 (diff) | |
download | ffmpeg-fb53b4a035c3682f5a8ab4241bde797ced539945.tar.gz |
Rename pbBufPtr() to put_bits_ptr().
The new name is more readable and consistent with the FFmpeg naming
style.
Originally committed as revision 18497 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 2a945c6eda..6e6d156866 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -245,7 +245,7 @@ void h263_encode_picture_header(MpegEncContext * s, int picture_number) align_put_bits(&s->pb); /* Update the pointer to last GOB */ - s->ptr_lastgob = pbBufPtr(&s->pb); + s->ptr_lastgob = put_bits_ptr(&s->pb); put_bits(&s->pb, 22, 0x20); /* PSC */ temp_ref= s->picture_number * (int64_t)coded_frame_rate * s->avctx->time_base.num / //FIXME use timestamp (coded_frame_rate_base * (int64_t)s->avctx->time_base.den); @@ -3053,7 +3053,7 @@ static inline void memsetw(short *tab, int val, int n) void ff_mpeg4_init_partitions(MpegEncContext *s) { - uint8_t *start= pbBufPtr(&s->pb); + uint8_t *start= put_bits_ptr(&s->pb); uint8_t *end= s->pb.buf_end; int size= end - start; int pb_size = (((intptr_t)start + size/3)&(~3)) - (intptr_t)start; |