avcodec/h264: use avpriv_find_start_code() in h264_split()
authorZhaoxiu Zeng <zhaoxiu.zeng@gmail.com>
Fri, 13 Feb 2015 05:51:30 +0000 (13:51 +0800)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Feb 2015 00:13:32 +0000 (01:13 +0100)
commit2a72b1664d7bfde3ad624c140519396b2e31c7fe
treec4e076801e2cab8f07b5d0ca11d9f6b019a75158
parent7d60baa8d90e3325874d581d4013bab8872581c5
avcodec/h264: use avpriv_find_start_code() in h264_split()

This also allows replacing several literal numbers by named constants
And it should be faster, the function is not speed relevant though as it is
generally only called a few times at the streams start.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_parser.c