summaryrefslogtreecommitdiff
path: root/libavcodec/ljpegenc.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-04-13 16:59:38 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-04-13 16:59:38 +0000
commitfb53b4a035c3682f5a8ab4241bde797ced539945 (patch)
tree18322fdb724ea3ad2cd1e4927e0354bf38de7907 /libavcodec/ljpegenc.c
parent084c7cc54a60e05ee240354d8013f512dac04ad2 (diff)
downloadffmpeg-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/ljpegenc.c')
-rw-r--r--libavcodec/ljpegenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c
index e53e07920f..6c9f058dce 100644
--- a/libavcodec/ljpegenc.c
+++ b/libavcodec/ljpegenc.c
@@ -181,7 +181,7 @@ static int encode_picture_lossless(AVCodecContext *avctx, unsigned char *buf, in
s->picture_number++;
flush_put_bits(&s->pb);
- return pbBufPtr(&s->pb) - s->pb.buf;
+ return put_bits_ptr(&s->pb) - s->pb.buf;
// return (put_bits_count(&f->pb)+7)/8;
}