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/mjpegenc.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/mjpegenc.c')
-rw-r--r-- | libavcodec/mjpegenc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index bfab7cdcd4..8369e9c946 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -135,7 +135,7 @@ static void jpeg_table_header(MpegEncContext *s) /* huffman table */ put_marker(p, DHT); flush_put_bits(p); - ptr = pbBufPtr(p); + ptr = put_bits_ptr(p); put_bits(p, 16, 0); /* patched later */ size = 2; size += put_huffman_table(s, 0, 0, ff_mjpeg_bits_dc_luminance, @@ -174,7 +174,7 @@ static void jpeg_put_comments(MpegEncContext *s) if(!(s->flags & CODEC_FLAG_BITEXACT)){ put_marker(p, COM); flush_put_bits(p); - ptr = pbBufPtr(p); + ptr = put_bits_ptr(p); put_bits(p, 16, 0); /* patched later */ ff_put_string(p, LIBAVCODEC_IDENT, 1); size = strlen(LIBAVCODEC_IDENT)+3; @@ -186,7 +186,7 @@ static void jpeg_put_comments(MpegEncContext *s) ||s->avctx->pix_fmt == PIX_FMT_YUV444P){ put_marker(p, COM); flush_put_bits(p); - ptr = pbBufPtr(p); + ptr = put_bits_ptr(p); put_bits(p, 16, 0); /* patched later */ ff_put_string(p, "CS=ITU601", 1); size = strlen("CS=ITU601")+3; |