Commit ec5bdf49 authored by Michael Niedermayer's avatar Michael Niedermayer

10l != vs. == (yes, my fault not kostya's).

Originally committed as revision 16330 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 679f3fa9
...@@ -252,7 +252,7 @@ static int find_group3_syncmarker(GetBitContext *gb, int srcsize) ...@@ -252,7 +252,7 @@ static int find_group3_syncmarker(GetBitContext *gb, int srcsize)
srcsize -= get_bits_count(gb); srcsize -= get_bits_count(gb);
while(srcsize-- > 0){ while(srcsize-- > 0){
state+= state + get_bits1(gb); state+= state + get_bits1(gb);
if((state & 0xFFF) != 1) if((state & 0xFFF) == 1)
return 0; return 0;
} }
return -1; return -1;
......
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