# HG changeset patch # User stefang # Date 1163361710 0 # Node ID b3328ed50a5e4cab54a71071f5efd77039c0dc04 # Parent 8535fcac43c1969e60a5371b6d5c036afeb53d53 make mpeg4video_split public as ff_mpeg4video_split diff -r 8535fcac43c1 -r b3328ed50a5e parser.c --- a/parser.c Sun Nov 12 18:49:36 2006 +0000 +++ b/parser.c Sun Nov 12 20:01:50 2006 +0000 @@ -387,7 +387,7 @@ } #endif /* CONFIG_CAVSVIDEO_PARSER */ -static int mpeg4video_split(AVCodecContext *avctx, +int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf, int buf_size) { int i; @@ -854,7 +854,7 @@ mpeg4video_parse_init, mpeg4video_parse, ff_parse1_close, - mpeg4video_split, + ff_mpeg4video_split, }; #endif #ifdef CONFIG_CAVSVIDEO_PARSER @@ -864,7 +864,7 @@ NULL, cavsvideo_parse, ff_parse1_close, - mpeg4video_split, + ff_mpeg4video_split, }; #endif #ifdef CONFIG_MPEGAUDIO_PARSER diff -r 8535fcac43c1 -r b3328ed50a5e parser.h --- a/parser.h Sun Nov 12 18:49:36 2006 +0000 +++ b/parser.h Sun Nov 12 20:01:50 2006 +0000 @@ -52,6 +52,8 @@ #define END_NOT_FOUND (-100) int ff_combine_frame(ParseContext *pc, int next, uint8_t **buf, int *buf_size); +int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf, + int buf_size); void ff_parse_close(AVCodecParserContext *s); void ff_parse1_close(AVCodecParserContext *s);