Commit 15413273 authored by bcoudurier's avatar bcoudurier

remove useless raw_write_header

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9923 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 23cdcb36
...@@ -24,11 +24,6 @@ ...@@ -24,11 +24,6 @@
#ifdef CONFIG_MUXERS #ifdef CONFIG_MUXERS
/* simple formats */ /* simple formats */
static int raw_write_header(struct AVFormatContext *s)
{
return 0;
}
static int flac_write_header(struct AVFormatContext *s) static int flac_write_header(struct AVFormatContext *s)
{ {
static const uint8_t header[8] = { static const uint8_t header[8] = {
...@@ -501,7 +496,7 @@ AVOutputFormat ac3_muxer = { ...@@ -501,7 +496,7 @@ AVOutputFormat ac3_muxer = {
0, 0,
CODEC_ID_AC3, CODEC_ID_AC3,
0, 0,
raw_write_header, NULL,
raw_write_packet, raw_write_packet,
.flags= AVFMT_NOTIMESTAMPS, .flags= AVFMT_NOTIMESTAMPS,
}; };
...@@ -568,7 +563,7 @@ AVOutputFormat h261_muxer = { ...@@ -568,7 +563,7 @@ AVOutputFormat h261_muxer = {
0, 0,
0, 0,
CODEC_ID_H261, CODEC_ID_H261,
raw_write_header, NULL,
raw_write_packet, raw_write_packet,
.flags= AVFMT_NOTIMESTAMPS, .flags= AVFMT_NOTIMESTAMPS,
}; };
...@@ -596,7 +591,7 @@ AVOutputFormat h263_muxer = { ...@@ -596,7 +591,7 @@ AVOutputFormat h263_muxer = {
0, 0,
0, 0,
CODEC_ID_H263, CODEC_ID_H263,
raw_write_header, NULL,
raw_write_packet, raw_write_packet,
.flags= AVFMT_NOTIMESTAMPS, .flags= AVFMT_NOTIMESTAMPS,
}; };
...@@ -624,7 +619,7 @@ AVOutputFormat m4v_muxer = { ...@@ -624,7 +619,7 @@ AVOutputFormat m4v_muxer = {
0, 0,
CODEC_ID_NONE, CODEC_ID_NONE,
CODEC_ID_MPEG4, CODEC_ID_MPEG4,
raw_write_header, NULL,
raw_write_packet, raw_write_packet,
.flags= AVFMT_NOTIMESTAMPS, .flags= AVFMT_NOTIMESTAMPS,
}; };
...@@ -652,7 +647,7 @@ AVOutputFormat h264_muxer = { ...@@ -652,7 +647,7 @@ AVOutputFormat h264_muxer = {
0, 0,
CODEC_ID_NONE, CODEC_ID_NONE,
CODEC_ID_H264, CODEC_ID_H264,
raw_write_header, NULL,
raw_write_packet, raw_write_packet,
.flags= AVFMT_NOTIMESTAMPS, .flags= AVFMT_NOTIMESTAMPS,
}; };
...@@ -679,7 +674,7 @@ AVOutputFormat mpeg1video_muxer = { ...@@ -679,7 +674,7 @@ AVOutputFormat mpeg1video_muxer = {
0, 0,
0, 0,
CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG1VIDEO,
raw_write_header, NULL,
raw_write_packet, raw_write_packet,
.flags= AVFMT_NOTIMESTAMPS, .flags= AVFMT_NOTIMESTAMPS,
}; };
...@@ -694,7 +689,7 @@ AVOutputFormat mpeg2video_muxer = { ...@@ -694,7 +689,7 @@ AVOutputFormat mpeg2video_muxer = {
0, 0,
0, 0,
CODEC_ID_MPEG2VIDEO, CODEC_ID_MPEG2VIDEO,
raw_write_header, NULL,
raw_write_packet, raw_write_packet,
.flags= AVFMT_NOTIMESTAMPS, .flags= AVFMT_NOTIMESTAMPS,
}; };
...@@ -735,7 +730,7 @@ AVOutputFormat mjpeg_muxer = { ...@@ -735,7 +730,7 @@ AVOutputFormat mjpeg_muxer = {
0, 0,
0, 0,
CODEC_ID_MJPEG, CODEC_ID_MJPEG,
raw_write_header, NULL,
raw_write_packet, raw_write_packet,
.flags= AVFMT_NOTIMESTAMPS, .flags= AVFMT_NOTIMESTAMPS,
}; };
...@@ -779,7 +774,7 @@ AVOutputFormat pcm_ ## name ## _muxer = {\ ...@@ -779,7 +774,7 @@ AVOutputFormat pcm_ ## name ## _muxer = {\
0,\ 0,\
codec,\ codec,\
0,\ 0,\
raw_write_header,\ NULL,\
raw_write_packet,\ raw_write_packet,\
.flags= AVFMT_NOTIMESTAMPS,\ .flags= AVFMT_NOTIMESTAMPS,\
}; };
...@@ -876,7 +871,7 @@ AVOutputFormat rawvideo_muxer = { ...@@ -876,7 +871,7 @@ AVOutputFormat rawvideo_muxer = {
0, 0,
CODEC_ID_NONE, CODEC_ID_NONE,
CODEC_ID_RAWVIDEO, CODEC_ID_RAWVIDEO,
raw_write_header, NULL,
raw_write_packet, raw_write_packet,
.flags= AVFMT_NOTIMESTAMPS, .flags= AVFMT_NOTIMESTAMPS,
}; };
...@@ -900,7 +895,7 @@ AVOutputFormat null_muxer = { ...@@ -900,7 +895,7 @@ AVOutputFormat null_muxer = {
CODEC_ID_PCM_S16LE, CODEC_ID_PCM_S16LE,
#endif #endif
CODEC_ID_RAWVIDEO, CODEC_ID_RAWVIDEO,
raw_write_header, NULL,
null_write_packet, null_write_packet,
.flags = AVFMT_NOFILE | AVFMT_RAWPICTURE | AVFMT_NOTIMESTAMPS, .flags = AVFMT_NOFILE | AVFMT_RAWPICTURE | AVFMT_NOTIMESTAMPS,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment