diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-04-13 20:59:38 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-04-13 20:59:38 +0400 |
commit | fb53b4a035c3682f5a8ab4241bde797ced539945 (patch) | |
tree | 18322fdb724ea3ad2cd1e4927e0354bf38de7907 /libavformat/swfenc.c | |
parent | 084c7cc54a60e05ee240354d8013f512dac04ad2 (diff) |
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 'libavformat/swfenc.c')
-rw-r--r-- | libavformat/swfenc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index a8556c85e4..af5da4ab3f 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -102,7 +102,7 @@ static void put_swf_rect(ByteIOContext *pb, put_bits(&p, nbits, ymax & mask); flush_put_bits(&p); - put_buffer(pb, buf, pbBufPtr(&p) - p.buf); + put_buffer(pb, buf, put_bits_ptr(&p) - p.buf); } static void put_swf_line_edge(PutBitContext *pb, int dx, int dy) @@ -167,7 +167,7 @@ static void put_swf_matrix(ByteIOContext *pb, put_bits(&p, nbits, ty); flush_put_bits(&p); - put_buffer(pb, buf, pbBufPtr(&p) - p.buf); + put_buffer(pb, buf, put_bits_ptr(&p) - p.buf); } static int swf_write_header(AVFormatContext *s) @@ -293,7 +293,7 @@ static int swf_write_header(AVFormatContext *s) put_bits(&p, 5, 0); flush_put_bits(&p); - put_buffer(pb, buf1, pbBufPtr(&p) - p.buf); + put_buffer(pb, buf1, put_bits_ptr(&p) - p.buf); put_swf_end_tag(s); } |