[FFmpeg-devel] Idea about speedup of startcode search

Loren Merritt lorenm
Sat Feb 9 04:45:36 CET 2008


On Fri, 8 Feb 2008, Reimar D?ffinger wrote:
>
> Hmm.. Maybe I am missing something, but I think those little/big-endian
> comments in that function do not make any sense, do they?
> I think using one of those commented-out variants would only detect some
> start codes?

Whereas Thorsten Jordan's code looks for 2 consecutive zeros, 
ff_avc_find_startcode looks for a single zero but only in even positions.

--Loren Merritt



More information about the ffmpeg-devel mailing list