get_bits: remove unused assignment
authorTimothy Gu <timothygu99@gmail.com>
Wed, 16 Jul 2014 03:56:28 +0000 (20:56 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Jul 2014 12:27:45 +0000 (14:27 +0200)
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/get_bits.h

index d8d7b6e..fd32535 100644 (file)
@@ -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;
     }