Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

vstream: shut up an invalid compiler warning

We are not in VS_ENCODE mode here, so vs_bit is allowed to be uninitialized.
  • Loading branch information...
commit 197191aad45041dbd267553142aba0c01d7d3cfb 1 parent 7e7fc1a
Maarten Lankhorst authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  vstream/bitstream.c
View
3  vstream/bitstream.c
@@ -336,8 +336,9 @@ int vs_search_start(struct bitstream *str) {
}
if (str->type == VS_H261 || str->type == VS_H263) {
int nzbit = (str->type == VS_H261 ? 15 : 16);
+ uint32_t bit = 0;
+
while (1) {
- uint32_t bit;
if (!str->hasbyte && str->bytepos >= str->bytesnum)
return 0;
if (str->zero_bits >= nzbit)
Please sign in to comment.
Something went wrong with that request. Please try again.