summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-10-30 00:51:51 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-11-03 10:15:07 -0500
commit351d0f8b7a6ecce411ae75fb3511573c34317218 (patch)
treeea66db1585828d2d6240aa638a3b5a674e0ae70e /libavcodec
parent2f221b6a9365aa400061e16266f2d1242f7169f8 (diff)
downloadffmpeg-351d0f8b7a6ecce411ae75fb3511573c34317218.tar.gz
get_bits: remove unused assignment
Bug-Id: CID 1238816
Diffstat (limited to 'libavcodec')
-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 b7c68e1b9f..3339c126e6 100644
--- a/libavcodec/get_bits.h
+++ b/libavcodec/get_bits.h
@@ -380,7 +380,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;
}