Mercurial > libavcodec.hg
changeset 4175:b3328ed50a5e libavcodec
make mpeg4video_split public as ff_mpeg4video_split
author | stefang |
---|---|
date | Sun, 12 Nov 2006 20:01:50 +0000 |
parents | 8535fcac43c1 |
children | 23da44e8fd05 |
files | parser.c parser.h |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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);