'terminate_string'.
Originally committed as revision 18442 to svn://svn.ffmpeg.org/ffmpeg/trunk
#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);
}
* 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.