Mercurial > libavformat.hg
changeset 2210:dbcfc6a4c016 libavformat
remove empty write trailer functions
patch by Vitor: [vitor1001 gmail com]
author | benoit |
---|---|
date | Wed, 27 Jun 2007 06:54:47 +0000 |
parents | 83236f48ae6a |
children | 1fddd398cc31 |
files | adtsenc.c amr.c raw.c rtp.c yuv4mpeg.c |
diffstat | 5 files changed, 0 insertions(+), 43 deletions(-) [+] |
line wrap: on
line diff
--- a/adtsenc.c Tue Jun 26 23:08:39 2007 +0000 +++ b/adtsenc.c Wed Jun 27 06:54:47 2007 +0000 @@ -89,11 +89,6 @@ return 0; } -static int adts_write_trailer(AVFormatContext *s) -{ - return 0; -} - static int adts_write_packet(AVFormatContext *s, AVPacket *pkt) { ADTSContext *adts = s->priv_data; @@ -119,5 +114,4 @@ CODEC_ID_NONE, adts_write_header, adts_write_packet, - adts_write_trailer, };
--- a/amr.c Tue Jun 26 23:08:39 2007 +0000 +++ b/amr.c Wed Jun 27 06:54:47 2007 +0000 @@ -60,11 +60,6 @@ put_flush_packet(&s->pb); return 0; } - -static int amr_write_trailer(AVFormatContext *s) -{ - return 0; -} #endif /* CONFIG_MUXERS */ static int amr_probe(AVProbeData *p) @@ -194,6 +189,5 @@ CODEC_ID_NONE, amr_write_header, amr_write_packet, - amr_write_trailer, }; #endif
--- a/raw.c Tue Jun 26 23:08:39 2007 +0000 +++ b/raw.c Wed Jun 27 06:54:47 2007 +0000 @@ -62,11 +62,6 @@ put_flush_packet(&s->pb); return 0; } - -static int raw_write_trailer(struct AVFormatContext *s) -{ - return 0; -} #endif //CONFIG_MUXERS /* raw input */ @@ -481,7 +476,6 @@ 0, flac_write_header, raw_write_packet, - raw_write_trailer, .flags= AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS @@ -511,7 +505,6 @@ 0, raw_write_header, raw_write_packet, - raw_write_trailer, .flags= AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS @@ -552,7 +545,6 @@ CODEC_ID_ROQ, roq_write_header, raw_write_packet, - raw_write_trailer, }; #endif //CONFIG_ROQ_MUXER @@ -580,7 +572,6 @@ CODEC_ID_H261, raw_write_header, raw_write_packet, - raw_write_trailer, .flags= AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS @@ -609,7 +600,6 @@ CODEC_ID_H263, raw_write_header, raw_write_packet, - raw_write_trailer, .flags= AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS @@ -638,7 +628,6 @@ CODEC_ID_MPEG4, raw_write_header, raw_write_packet, - raw_write_trailer, .flags= AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS @@ -667,7 +656,6 @@ CODEC_ID_H264, raw_write_header, raw_write_packet, - raw_write_trailer, .flags= AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS @@ -695,7 +683,6 @@ CODEC_ID_MPEG1VIDEO, raw_write_header, raw_write_packet, - raw_write_trailer, .flags= AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS @@ -711,7 +698,6 @@ CODEC_ID_MPEG2VIDEO, raw_write_header, raw_write_packet, - raw_write_trailer, .flags= AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS @@ -753,7 +739,6 @@ CODEC_ID_MJPEG, raw_write_header, raw_write_packet, - raw_write_trailer, .flags= AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS @@ -798,7 +783,6 @@ 0,\ raw_write_header,\ raw_write_packet,\ - raw_write_trailer,\ .flags= AVFMT_NOTIMESTAMPS,\ }; @@ -896,7 +880,6 @@ CODEC_ID_RAWVIDEO, raw_write_header, raw_write_packet, - raw_write_trailer, .flags= AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS @@ -921,7 +904,6 @@ CODEC_ID_RAWVIDEO, raw_write_header, null_write_packet, - raw_write_trailer, .flags = AVFMT_NOFILE | AVFMT_RAWPICTURE | AVFMT_NOTIMESTAMPS, }; #endif //CONFIG_MUXERS
--- a/rtp.c Tue Jun 26 23:08:39 2007 +0000 +++ b/rtp.c Wed Jun 27 06:54:47 2007 +0000 @@ -1055,12 +1055,6 @@ return 0; } -static int rtp_write_trailer(AVFormatContext *s1) -{ - // RTPDemuxContext *s = s1->priv_data; - return 0; -} - AVOutputFormat rtp_muxer = { "rtp", "RTP output format", @@ -1071,5 +1065,4 @@ CODEC_ID_NONE, rtp_write_header, rtp_write_packet, - rtp_write_trailer, };
--- a/yuv4mpeg.c Tue Jun 26 23:08:39 2007 +0000 +++ b/yuv4mpeg.c Wed Jun 27 06:54:47 2007 +0000 @@ -166,11 +166,6 @@ return 0; } -static int yuv4_write_trailer(AVFormatContext *s) -{ - return 0; -} - #ifdef CONFIG_YUV4MPEGPIPE_MUXER AVOutputFormat yuv4mpegpipe_muxer = { "yuv4mpegpipe", @@ -182,7 +177,6 @@ CODEC_ID_RAWVIDEO, yuv4_write_header, yuv4_write_packet, - yuv4_write_trailer, .flags = AVFMT_RAWPICTURE, }; #endif