]> git.sesse.net Git - ffmpeg/commitdiff
make mpeg4video_split public as ff_mpeg4video_split
authorStefan Gehrer <stefan.gehrer@gmx.de>
Sun, 12 Nov 2006 20:01:50 +0000 (20:01 +0000)
committerStefan Gehrer <stefan.gehrer@gmx.de>
Sun, 12 Nov 2006 20:01:50 +0000 (20:01 +0000)
Originally committed as revision 6991 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/parser.c
libavcodec/parser.h

index 3ac5f8e99d133636193afdf75960141048226510..63a1a60944dde881bbe1f87c87b4ca4f50827bc6 100644 (file)
@@ -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
index 46e1d8c1e373ea595b552f07b0cf698830a5ccda..6a0398a391184a7922a70c23d582dcd0616dfa05 100644 (file)
@@ -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);