diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2006-11-12 20:01:50 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2006-11-12 20:01:50 +0000 |
commit | d136d2fceabf58fbbadc07b4a03bd25d193849ff (patch) | |
tree | f0fcb6394d6612a947f074cff6ac383eb3c1b3ad | |
parent | 36cd3069073f78907b8ad3fd12c5faf8070a5cc6 (diff) | |
download | ffmpeg-d136d2fceabf58fbbadc07b4a03bd25d193849ff.tar.gz |
make mpeg4video_split public as ff_mpeg4video_split
Originally committed as revision 6991 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/parser.c | 6 | ||||
-rw-r--r-- | libavcodec/parser.h | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c index 3ac5f8e99d..63a1a60944 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -387,7 +387,7 @@ static int cavsvideo_parse(AVCodecParserContext *s, } #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 @@ AVCodecParser mpeg4video_parser = { mpeg4video_parse_init, mpeg4video_parse, ff_parse1_close, - mpeg4video_split, + ff_mpeg4video_split, }; #endif #ifdef CONFIG_CAVSVIDEO_PARSER @@ -864,7 +864,7 @@ AVCodecParser cavsvideo_parser = { NULL, cavsvideo_parse, ff_parse1_close, - mpeg4video_split, + ff_mpeg4video_split, }; #endif #ifdef CONFIG_MPEGAUDIO_PARSER diff --git a/libavcodec/parser.h b/libavcodec/parser.h index 46e1d8c1e3..6a0398a391 100644 --- a/libavcodec/parser.h +++ b/libavcodec/parser.h @@ -52,6 +52,8 @@ typedef struct ParseContext1{ #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); |