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 --- libavcodec/bitstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/bitstream.c') diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c index 267fc818ec..efb5a3bfdb 100644 --- a/libavcodec/bitstream.c +++ b/libavcodec/bitstream.c @@ -91,7 +91,7 @@ void ff_copy_bits(PutBitContext *pb, const uint8_t *src, int length) for(i=0; put_bits_count(pb)&31; i++) put_bits(pb, 8, src[i]); flush_put_bits(pb); - memcpy(pbBufPtr(pb), src+i, 2*words-i); + memcpy(put_bits_ptr(pb), src+i, 2*words-i); skip_put_bytes(pb, 2*words-i); } -- cgit v1.2.3