diff raw.c @ 6442:852b5a321ef5 libavformat

move null muxer to its own file
author aurel
date Sun, 29 Aug 2010 22:15:50 +0000
parents d23c128f1f51
children 9a1a187b1de7
line wrap: on
line diff
--- a/raw.c	Sun Aug 29 22:06:48 2010 +0000
+++ b/raw.c	Sun Aug 29 22:15:50 2010 +0000
@@ -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 @@
 };
 #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",