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/bitstream.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/bitstream.c')
-rw-r--r-- | libavcodec/bitstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |