A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ffmpeg.org/pipermail/ffmpeg-devel/2007-January/027701.html below:

[Ffmpeg-devel] [RFC] VC1 frame decoder

[Ffmpeg-devel] [RFC] VC1 frame decoder [Ffmpeg-devel] [RFC] VC1 frame decoderNico Sabbi nicola_sabbi
Sun Jan 21 12:23:56 CET 2007
Kostya wrote:
> Forgot to attach.
> 
> 
> ------------------------------------------------------------------------
> 

still crashing for me (p4)

> +                int code;
> +                // search for frame/field start code
> +                code = AV_RB32(buf);
> +                while(skip < buf_size - 4){
> +                    code <<= 8;
> +                    code |= buf[skip++];
> +                    if(code == 0x0000010D || code == 0x0000010C) break;
> +                }

shouldn't this block read:

while(code != 0x0000010D && code != 0x0000010C && skip < buf_size - 4)  {
     code <<= 8;
     code |= buf[skip++];
}


-- 
"Without a frontend, mplayer is useless" - someone in mplayer-users


More information about the ffmpeg-devel mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4