# HG changeset patch # User stefano # Date 1239465261 0 # Node ID 9fc81340a5a823939a33c0cd775af605fe566e85 # Parent 72d354a913675dfe87801e26528414d9d9bfed05 Rename the 'put_zero' parameter of ff_put_string() to 'terminate_string'. diff -r 72d354a91367 -r 9fc81340a5a8 bitstream.c --- a/bitstream.c Sat Apr 11 14:49:46 2009 +0000 +++ b/bitstream.c Sat Apr 11 15:54:21 2009 +0000 @@ -65,13 +65,13 @@ #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 -r 72d354a91367 -r 9fc81340a5a8 bitstream.h --- a/bitstream.h Sat Apr 11 14:49:46 2009 +0000 +++ b/bitstream.h Sat Apr 11 15:54:21 2009 +0000 @@ -159,7 +159,7 @@ * 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.