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;
CODEC_ID_NONE,
adts_write_header,
adts_write_packet,
- adts_write_trailer,
};
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)
CODEC_ID_NONE,
amr_write_header,
amr_write_packet,
- amr_write_trailer,
};
#endif
put_flush_packet(&s->pb);
return 0;
}
-
-static int raw_write_trailer(struct AVFormatContext *s)
-{
- return 0;
-}
#endif //CONFIG_MUXERS
/* raw input */
0,
flac_write_header,
raw_write_packet,
- raw_write_trailer,
.flags= AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
0,
raw_write_header,
raw_write_packet,
- raw_write_trailer,
.flags= AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
CODEC_ID_ROQ,
roq_write_header,
raw_write_packet,
- raw_write_trailer,
};
#endif //CONFIG_ROQ_MUXER
CODEC_ID_H261,
raw_write_header,
raw_write_packet,
- raw_write_trailer,
.flags= AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
CODEC_ID_H263,
raw_write_header,
raw_write_packet,
- raw_write_trailer,
.flags= AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
CODEC_ID_MPEG4,
raw_write_header,
raw_write_packet,
- raw_write_trailer,
.flags= AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
CODEC_ID_H264,
raw_write_header,
raw_write_packet,
- raw_write_trailer,
.flags= AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
CODEC_ID_MPEG1VIDEO,
raw_write_header,
raw_write_packet,
- raw_write_trailer,
.flags= AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
CODEC_ID_MPEG2VIDEO,
raw_write_header,
raw_write_packet,
- raw_write_trailer,
.flags= AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
CODEC_ID_MJPEG,
raw_write_header,
raw_write_packet,
- raw_write_trailer,
.flags= AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
0,\
raw_write_header,\
raw_write_packet,\
- raw_write_trailer,\
.flags= AVFMT_NOTIMESTAMPS,\
};
CODEC_ID_RAWVIDEO,
raw_write_header,
raw_write_packet,
- raw_write_trailer,
.flags= AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
CODEC_ID_RAWVIDEO,
raw_write_header,
null_write_packet,
- raw_write_trailer,
.flags = AVFMT_NOFILE | AVFMT_RAWPICTURE | AVFMT_NOTIMESTAMPS,
};
#endif //CONFIG_MUXERS
return 0;
}
-static int rtp_write_trailer(AVFormatContext *s1)
-{
- // RTPDemuxContext *s = s1->priv_data;
- return 0;
-}
-
AVOutputFormat rtp_muxer = {
"rtp",
"RTP output format",
CODEC_ID_NONE,
rtp_write_header,
rtp_write_packet,
- rtp_write_trailer,
};
return 0;
}
-static int yuv4_write_trailer(AVFormatContext *s)
-{
- return 0;
-}
-
#ifdef CONFIG_YUV4MPEGPIPE_MUXER
AVOutputFormat yuv4mpegpipe_muxer = {
"yuv4mpegpipe",
CODEC_ID_RAWVIDEO,
yuv4_write_header,
yuv4_write_packet,
- yuv4_write_trailer,
.flags = AVFMT_RAWPICTURE,
};
#endif