From db7f1c7c5a1d37e7f4da64a79a97bea1c4b6e9f8 Mon Sep 17 00:00:00 2001 From: Ben Avison Date: Mon, 21 Jul 2014 16:25:48 +0100 Subject: h264: Move start code search functions into separate source files. This permits re-use with parsers for codecs which use similar start codes. Signed-off-by: Luca Barbato --- libavcodec/h264_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h264_parser.c') diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 795a2339a3..8ced0b811d 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -48,7 +48,7 @@ static int h264_find_frame_end(H264Context *h, const uint8_t *buf, for (i = 0; i < buf_size; i++) { if (state == 7) { - i += h->h264dsp.h264_find_start_code_candidate(buf + i, buf_size - i); + i += h->h264dsp.startcode_find_candidate(buf + i, buf_size - i); if (i < buf_size) state = 2; } else if (state <= 2) { -- cgit v1.2.3