1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

get_bits: remove unused assignment

Bug-Id: CID 1238816
This commit is contained in:
Vittorio Giovara 2014-10-30 00:51:51 +00:00
parent 2f221b6a93
commit 351d0f8b7a

View File

@ -380,7 +380,7 @@ static inline int init_get_bits(GetBitContext *s, const uint8_t *buffer,
int ret = 0; int ret = 0;
if (bit_size > INT_MAX - 7 || bit_size < 0 || !buffer) { if (bit_size > INT_MAX - 7 || bit_size < 0 || !buffer) {
buffer_size = bit_size = 0; bit_size = 0;
buffer = NULL; buffer = NULL;
ret = AVERROR_INVALIDDATA; ret = AVERROR_INVALIDDATA;
} }