diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-04-11 19:54:21 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-04-11 19:54:21 +0400 |
commit | 54b02ccda29936839d15a96b3d0cba0eec300f52 (patch) | |
tree | 2c3fafa9a176afc65385ad4341e163b6c77da0e4 /libavcodec/bitstream.c | |
parent | 980f54513e7a3e783714d79aa0d84a659074df86 (diff) |
Rename the 'put_zero' parameter of ff_put_string() to
'terminate_string'.
Originally committed as revision 18442 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bitstream.c')
-rw-r--r-- | libavcodec/bitstream.c | 4 |
1 files changed, 2 insertions, 2 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); } |