[Ffmpeg-cvslog] r6991 - in trunk/libavcodec: parser.c parser.h

stefang subversion
Sun Nov 12 21:01:50 CET 2006


Author: stefang
Date: Sun Nov 12 21:01:50 2006
New Revision: 6991

Modified:
   trunk/libavcodec/parser.c
   trunk/libavcodec/parser.h

Log:
make mpeg4video_split public as ff_mpeg4video_split


Modified: trunk/libavcodec/parser.c
==============================================================================
--- trunk/libavcodec/parser.c	(original)
+++ trunk/libavcodec/parser.c	Sun Nov 12 21:01:50 2006
@@ -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

Modified: trunk/libavcodec/parser.h
==============================================================================
--- trunk/libavcodec/parser.h	(original)
+++ trunk/libavcodec/parser.h	Sun Nov 12 21:01:50 2006
@@ -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);
 




More information about the ffmpeg-cvslog mailing list