Commit 5b18881f authored by stefano's avatar stefano

Rename the 'put_zero' parameter of ff_put_string() to

'terminate_string'.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18442 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1ca8eaea
......@@ -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);
}
......
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment