diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-04-11 15:54:21 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-04-11 15:54:21 +0000 |
commit | 54b02ccda29936839d15a96b3d0cba0eec300f52 (patch) | |
tree | 2c3fafa9a176afc65385ad4341e163b6c77da0e4 | |
parent | 980f54513e7a3e783714d79aa0d84a659074df86 (diff) | |
download | ffmpeg-54b02ccda29936839d15a96b3d0cba0eec300f52.tar.gz |
Rename the 'put_zero' parameter of ff_put_string() to
'terminate_string'.
Originally committed as revision 18442 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/bitstream.c | 4 | ||||
-rw-r--r-- | libavcodec/bitstream.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c index 5d9bd32707..48510988f2 100644 --- a/libavcodec/bitstream.c +++ b/libavcodec/bitstream.c @@ -65,13 +65,13 @@ void align_put_bits(PutBitContext *s) #endif } -void ff_put_string(PutBitContext * pbc, const char *s, int put_zero) +void ff_put_string(PutBitContext * pbc, const char *s, int terminate_string) { while(*s){ put_bits(pbc, 8, *s); s++; } - if(put_zero) + if(terminate_string) put_bits(pbc, 8, 0); } diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h index 66a5498d77..519c1884ef 100644 --- a/libavcodec/bitstream.h +++ b/libavcodec/bitstream.h @@ -159,7 +159,7 @@ static inline void flush_put_bits(PutBitContext *s) * Pads the bitstream with zeros up to the next byte boundary. */ void align_put_bits(PutBitContext *s); -void ff_put_string(PutBitContext * pbc, const char *s, int put_zero); +void ff_put_string(PutBitContext * pbc, const char *s, int terminate_string); /** * Copies the content of \p src to the bitstream. |