[FFmpeg-cvslog] get_bits: remove unused assignment
Vittorio Giovara
git at videolan.org
Tue Nov 4 21:08:53 CET 2014
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Thu Oct 30 00:51:51 2014 +0000| [351d0f8b7a6ecce411ae75fb3511573c34317218] | committer: Vittorio Giovara
get_bits: remove unused assignment
Bug-Id: CID 1238816
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=351d0f8b7a6ecce411ae75fb3511573c34317218
---
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 b7c68e1..3339c12 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;
}
More information about the ffmpeg-cvslog
mailing list