From f1e9398621af0bc9d166014e4ce6996bb4f141d0 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Mon, 25 Mar 2013 14:11:41 +0200 Subject: lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also move the declaration to internal.h, and add restrict qualifiers to the declaration (as in the implementation). Signed-off-by: Martin Storsjö --- libavcodec/h264_parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/h264_parser.c') diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 8c84d439d8..3c98c84788 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -28,6 +28,7 @@ #include "parser.h" #include "h264data.h" #include "golomb.h" +#include "internal.h" #include @@ -130,7 +131,7 @@ static inline int parse_nal_units(AVCodecParserContext *s, for(;;) { int src_length, dst_length, consumed; - buf = avpriv_mpv_find_start_code(buf, buf_end, &state); + buf = avpriv_find_start_code(buf, buf_end, &state); if(buf >= buf_end) break; --buf; -- cgit v1.2.3