[FFmpeg-cvslog] get_bits: remove unused assignment

Timothy Gu git at videolan.org
Wed Jul 16 14:37:53 CEST 2014


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Tue Jul 15 20:56:28 2014 -0700| [ea6178fff8ee0ccf145a2cbd5ab3c1bf73cd03d2] | committer: Michael Niedermayer

get_bits: remove unused assignment

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ea6178fff8ee0ccf145a2cbd5ab3c1bf73cd03d2
---

 libavcodec/get_bits.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h
index d8d7b6e..fd32535 100644
--- a/libavcodec/get_bits.h
+++ b/libavcodec/get_bits.h
@@ -408,7 +408,7 @@ static inline int init_get_bits(GetBitContext *s, const uint8_t *buffer,
     int ret = 0;
 
     if (bit_size >= INT_MAX - 7 || bit_size < 0 || !buffer) {
-        buffer_size = bit_size = 0;
+        bit_size    = 0;
         buffer      = NULL;
         ret         = AVERROR_INVALIDDATA;
     }



More information about the ffmpeg-cvslog mailing list