aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-07-15 20:56:28 -0700
committerMichael Niedermayer <michaelni@gmx.at>2014-07-16 14:27:45 +0200
commitea6178fff8ee0ccf145a2cbd5ab3c1bf73cd03d2 (patch)
tree8450e54d49bfd9d4d0d2f610756d96043438346e
parentaa1d096d027be4fe901062f04a0b2adfb75af82f (diff)
downloadffmpeg-ea6178fff8ee0ccf145a2cbd5ab3c1bf73cd03d2.tar.gz
get_bits: remove unused assignment
Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/get_bits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h
index d8d7b6ea08..fd32535d2a 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;
}