Signed-off-by: Timothy Gu <timothyg...@gmail.com> --- libavcodec/get_bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h index d8d7b6e..fd32535 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; } -- 1.9.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel