Commit 1232375c authored by stefang's avatar stefang

make mpeg4video_split public as ff_mpeg4video_split


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6991 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a79901b9
...@@ -387,7 +387,7 @@ static int cavsvideo_parse(AVCodecParserContext *s, ...@@ -387,7 +387,7 @@ static int cavsvideo_parse(AVCodecParserContext *s,
} }
#endif /* CONFIG_CAVSVIDEO_PARSER */ #endif /* CONFIG_CAVSVIDEO_PARSER */
static int mpeg4video_split(AVCodecContext *avctx, int ff_mpeg4video_split(AVCodecContext *avctx,
const uint8_t *buf, int buf_size) const uint8_t *buf, int buf_size)
{ {
int i; int i;
...@@ -854,7 +854,7 @@ AVCodecParser mpeg4video_parser = { ...@@ -854,7 +854,7 @@ AVCodecParser mpeg4video_parser = {
mpeg4video_parse_init, mpeg4video_parse_init,
mpeg4video_parse, mpeg4video_parse,
ff_parse1_close, ff_parse1_close,
mpeg4video_split, ff_mpeg4video_split,
}; };
#endif #endif
#ifdef CONFIG_CAVSVIDEO_PARSER #ifdef CONFIG_CAVSVIDEO_PARSER
...@@ -864,7 +864,7 @@ AVCodecParser cavsvideo_parser = { ...@@ -864,7 +864,7 @@ AVCodecParser cavsvideo_parser = {
NULL, NULL,
cavsvideo_parse, cavsvideo_parse,
ff_parse1_close, ff_parse1_close,
mpeg4video_split, ff_mpeg4video_split,
}; };
#endif #endif
#ifdef CONFIG_MPEGAUDIO_PARSER #ifdef CONFIG_MPEGAUDIO_PARSER
......
...@@ -52,6 +52,8 @@ typedef struct ParseContext1{ ...@@ -52,6 +52,8 @@ typedef struct ParseContext1{
#define END_NOT_FOUND (-100) #define END_NOT_FOUND (-100)
int ff_combine_frame(ParseContext *pc, int next, uint8_t **buf, int *buf_size); 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_parse_close(AVCodecParserContext *s);
void ff_parse1_close(AVCodecParserContext *s); void ff_parse1_close(AVCodecParserContext *s);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment