Commit 351d0f8b authored by Vittorio Giovara's avatar Vittorio Giovara

get_bits: remove unused assignment

Bug-Id: CID 1238816
parent 2f221b6a
...@@ -380,7 +380,7 @@ static inline int init_get_bits(GetBitContext *s, const uint8_t *buffer, ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment