On Wed, 16 Apr 2014 08:09:11 +0100, Luca Barbato <[email protected]> wrote:

On 16/04/14 02:50, Ben Avison wrote:
This permits re-use with parsers for codecs which use similar start codes.

It would make sense, maybe I'd call it h264_startcode.c though.

I was being deliberately vague because a startcode of (byte-aligned)
0x00 0x00 0x01 is used in many codecs. The earliest codec I'm aware of
that used it was MPEG-1 - it just so happens that the most optimised
search algorithm we had was in the H.264 code.

So if anything, perhaps it should be named mpeg_startcode.c. But then
VC-1 isn't an MPEG codec!

Ben
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to