mpeg4parser: speed up scan for start codes
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 19 Oct 2012 14:47:29 +0000 (15:47 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 19 Oct 2012 14:52:33 +0000 (15:52 +0100)
commitdf28daaeb8fd102cff8aff5e3a7ba7f17995c88f
tree9fcc41ba54828db77e008e52d8fb052aa2d0b5aa
parent0265e33c58352e35c403fab825e3146b64dc9fc9
mpeg4parser: speed up scan for start codes

While some may be suspicious of the call to memchr, GCC is
expected to have an intrinsic definition for it, which should
see it turned into a set of asm opcodes tailored for the task.
gst-libs/gst/codecparsers/gstmpeg4parser.c