summaryrefslogtreecommitdiff
path: root/libavcodec/h264_parser.c
diff options
context:
space:
mode:
authorBen Avison <bavison@riscosopen.org>2014-07-21 16:25:48 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-08-04 22:22:54 +0200
commitdb7f1c7c5a1d37e7f4da64a79a97bea1c4b6e9f8 (patch)
treed5d872aa5916ca99645f2373f053c15a773af30a /libavcodec/h264_parser.c
parenteee813eec7d3c0b0689f80665d3f796401742935 (diff)
downloadffmpeg-db7f1c7c5a1d37e7f4da64a79a97bea1c4b6e9f8.tar.gz
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 <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c2
1 files changed, 1 insertions, 1 deletions
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) {