From fb53b4a035c3682f5a8ab4241bde797ced539945 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 13 Apr 2009 16:59:38 +0000 Subject: 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 --- libavformat/mpegenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/mpegenc.c') diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index 11a2deb033..8665030421 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -114,7 +114,7 @@ static int put_pack_header(AVFormatContext *ctx, put_bits(&pb, 3, 0); /* stuffing length */ } flush_put_bits(&pb); - return pbBufPtr(&pb) - pb.buf; + return put_bits_ptr(&pb) - pb.buf; } static int put_system_header(AVFormatContext *ctx, uint8_t *buf,int only_for_stream_id) @@ -256,7 +256,7 @@ static int put_system_header(AVFormatContext *ctx, uint8_t *buf,int only_for_str } flush_put_bits(&pb); - size = pbBufPtr(&pb) - pb.buf; + size = put_bits_ptr(&pb) - pb.buf; /* patch packet size */ buf[4] = (size - 6) >> 8; buf[5] = (size - 6) & 0xff; -- cgit v1.2.3