]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/get_bits.h
Merge commit '42eb9154a83e9a7aedb1168b2f1112af765cf2b5'
[ffmpeg] / libavcodec / get_bits.h
index d8d7b6ea08e9e7611fa780a9557b5e41d0a9b769..fd32535d2a15555090bfd12c5a62b023002689a6 100644 (file)
@@ -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;
     }