aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/raw.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-08-29 22:15:50 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-08-29 22:15:50 +0000
commit8f3890404cb54c3d24edf7773a148eb0ad3ec720 (patch)
tree75daab85315fb0cfef1135124361226ba9f0b0cc /libavformat/raw.c
parent1ac301cad88a5959bb6d37bf66d2a023168980f9 (diff)
downloadffmpeg-8f3890404cb54c3d24edf7773a148eb0ad3ec720.tar.gz
move null muxer to its own file
Originally committed as revision 24985 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r--libavformat/raw.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c
index b8351bf007..2a8d299bf9 100644
--- a/libavformat/raw.c
+++ b/libavformat/raw.c
@@ -25,13 +25,6 @@
/* simple formats */
-#if CONFIG_NULL_MUXER
-static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt)
-{
- return 0;
-}
-#endif
-
#if CONFIG_MUXERS
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
{
@@ -530,21 +523,6 @@ AVOutputFormat mpeg2video_muxer = {
};
#endif
-#if CONFIG_NULL_MUXER
-AVOutputFormat null_muxer = {
- "null",
- NULL_IF_CONFIG_SMALL("raw null video format"),
- NULL,
- NULL,
- 0,
- AV_NE(CODEC_ID_PCM_S16BE, CODEC_ID_PCM_S16LE),
- CODEC_ID_RAWVIDEO,
- NULL,
- null_write_packet,
- .flags = AVFMT_NOFILE | AVFMT_RAWPICTURE | AVFMT_NOTIMESTAMPS,
-};
-#endif
-
#if CONFIG_RAWVIDEO_DEMUXER
AVInputFormat rawvideo_demuxer = {
"rawvideo",