Mercurial > libavcodec.hg
diff bitstream.c @ 9405:9fc81340a5a8 libavcodec
Rename the 'put_zero' parameter of ff_put_string() to
'terminate_string'.
author | stefano |
---|---|
date | Sat, 11 Apr 2009 15:54:21 +0000 |
parents | 18dffa8f2382 |
children | 4cb7c65fc775 |
line wrap: on
line diff
--- 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); }