[SCM] libav/experimental: fix comment, get/show_bits(0) does not work

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:56:35 UTC 2013


The following commit has been merged in the experimental branch:
commit 0ac47d632fc1f119f4d36932a7d4bbbb305d1fa3
Author: Stefan Gehrer <stefan.gehrer at gmx.de>
Date:   Mon Feb 19 20:59:40 2007 +0000

    fix comment, get/show_bits(0) does not work
    
    Originally committed as revision 8029 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h
index 29e0f44..a92b7cf 100644
--- a/libavcodec/bitstream.h
+++ b/libavcodec/bitstream.h
@@ -662,7 +662,7 @@ static inline int get_sbits(GetBitContext *s, int n){
 }
 
 /**
- * reads 0-17 bits.
+ * reads 1-17 bits.
  * Note, the alt bitstream reader can read up to 25 bits, but the libmpeg2 reader can't
  */
 static inline unsigned int get_bits(GetBitContext *s, int n){
@@ -676,7 +676,7 @@ static inline unsigned int get_bits(GetBitContext *s, int n){
 }
 
 /**
- * shows 0-17 bits.
+ * shows 1-17 bits.
  * Note, the alt bitstream reader can read up to 25 bits, but the libmpeg2 reader can't
  */
 static inline unsigned int show_bits(GetBitContext *s, int n){

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list