]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Rename the 'put_zero' parameter of ff_put_string() to
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 11 Apr 2009 15:54:21 +0000 (15:54 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 11 Apr 2009 15:54:21 +0000 (15:54 +0000)
'terminate_string'.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18442 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/bitstream.c
libavcodec/bitstream.h

index 5d9bd32707d8b6ebdbbd7863a63e95bba7186b57..48510988f2bf2b8dbce189cbdcf1f41ccdda226c 100644 (file)
@@ -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);
 }
 
index 66a5498d773de4fd8218c0ce9cd115d5b134eda9..519c1884efe6118a63b193fe1b0a96603b0ad93e 100644 (file)
@@ -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.