changeset 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 72d354a91367
children 8d51b340393e
files bitstream.c bitstream.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
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);
 }
 
--- 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.