Mercurial > libavformat.hg
changeset 4058:dcdf236c9909 libavformat
Delete unnecessary 'extern' keywords.
author | diego |
---|---|
date | Wed, 03 Dec 2008 15:23:30 +0000 |
parents | bf23e96cf362 |
children | 59db9e761b38 |
files | asf.c framehook.h mpegts.c oggdec.h oggparsevorbis.c os_support.h |
diffstat | 6 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/asf.c Wed Dec 03 13:53:13 2008 +0000 +++ b/asf.c Wed Dec 03 15:23:30 2008 +0000 @@ -26,7 +26,7 @@ #include "asf.h" #include "asfcrypt.h" -extern void ff_mms_set_stream_selection(URLContext *h, AVFormatContext *format); +void ff_mms_set_stream_selection(URLContext *h, AVFormatContext *format); #undef NDEBUG #include <assert.h>
--- a/framehook.h Wed Dec 03 13:53:13 2008 +0000 +++ b/framehook.h Wed Dec 03 15:23:30 2008 +0000 @@ -45,8 +45,8 @@ typedef FrameHookRelease *FrameHookReleaseFn; extern FrameHookRelease Release; -extern int frame_hook_add(int argc, char *argv[]); -extern void frame_hook_process(struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts); -extern void frame_hook_release(void); +int frame_hook_add(int argc, char *argv[]); +void frame_hook_process(struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts); +void frame_hook_release(void); #endif /* AVFORMAT_FRAMEHOOK_H */
--- a/mpegts.c Wed Dec 03 13:53:13 2008 +0000 +++ b/mpegts.c Wed Dec 03 15:23:30 2008 +0000 @@ -38,8 +38,8 @@ static PESContext* add_pes_stream(MpegTSContext *ts, int pid, int pcr_pid, int stream_type); static AVStream* new_pes_av_stream(PESContext *pes, uint32_t code); -extern void av_set_program_name(AVProgram *program, char *provider_name, char *name); -extern void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); +void av_set_program_name(AVProgram *program, char *provider_name, char *name); +void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); enum MpegTSFilterType { MPEGTS_PES,
--- a/oggdec.h Wed Dec 03 13:53:13 2008 +0000 +++ b/oggdec.h Wed Dec 03 15:23:30 2008 +0000 @@ -85,6 +85,6 @@ extern const struct ogg_codec ff_theora_codec; extern const struct ogg_codec ff_vorbis_codec; -extern int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size); +int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size); #endif /* AVFORMAT_OGGDEC_H */
--- a/oggparsevorbis.c Wed Dec 03 13:53:13 2008 +0000 +++ b/oggparsevorbis.c Wed Dec 03 15:23:30 2008 +0000 @@ -30,7 +30,7 @@ #include "avformat.h" #include "oggdec.h" -extern int +int vorbis_comment(AVFormatContext * as, uint8_t *buf, int size) { const uint8_t *p = buf;
--- a/os_support.h Wed Dec 03 13:53:13 2008 +0000 +++ b/os_support.h Wed Dec 03 15:23:30 2008 +0000 @@ -93,7 +93,7 @@ #define POLLNVAL 0x1000 /* invalid file descriptor */ -extern int poll(struct pollfd *fds, nfds_t numfds, int timeout); +int poll(struct pollfd *fds, nfds_t numfds, int timeout); #endif /* HAVE_POLL_H */ #endif /* CONFIG_FFSERVER */ #endif /* CONFIG_NETWORK */