Originally committed as revision 6991 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefan Gehrer authored on 2006/11/13 05:01:50... | ... |
@@ -387,7 +387,7 @@ static int cavsvideo_parse(AVCodecParserContext *s, |
387 | 387 |
} |
388 | 388 |
#endif /* CONFIG_CAVSVIDEO_PARSER */ |
389 | 389 |
|
390 |
-static int mpeg4video_split(AVCodecContext *avctx, |
|
390 |
+int ff_mpeg4video_split(AVCodecContext *avctx, |
|
391 | 391 |
const uint8_t *buf, int buf_size) |
392 | 392 |
{ |
393 | 393 |
int i; |
... | ... |
@@ -854,7 +854,7 @@ AVCodecParser mpeg4video_parser = { |
854 | 854 |
mpeg4video_parse_init, |
855 | 855 |
mpeg4video_parse, |
856 | 856 |
ff_parse1_close, |
857 |
- mpeg4video_split, |
|
857 |
+ ff_mpeg4video_split, |
|
858 | 858 |
}; |
859 | 859 |
#endif |
860 | 860 |
#ifdef CONFIG_CAVSVIDEO_PARSER |
... | ... |
@@ -864,7 +864,7 @@ AVCodecParser cavsvideo_parser = { |
864 | 864 |
NULL, |
865 | 865 |
cavsvideo_parse, |
866 | 866 |
ff_parse1_close, |
867 |
- mpeg4video_split, |
|
867 |
+ ff_mpeg4video_split, |
|
868 | 868 |
}; |
869 | 869 |
#endif |
870 | 870 |
#ifdef CONFIG_MPEGAUDIO_PARSER |
... | ... |
@@ -52,6 +52,8 @@ typedef struct ParseContext1{ |
52 | 52 |
#define END_NOT_FOUND (-100) |
53 | 53 |
|
54 | 54 |
int ff_combine_frame(ParseContext *pc, int next, uint8_t **buf, int *buf_size); |
55 |
+int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf, |
|
56 |
+ int buf_size); |
|
55 | 57 |
void ff_parse_close(AVCodecParserContext *s); |
56 | 58 |
void ff_parse1_close(AVCodecParserContext *s); |
57 | 59 |
|