Revision 8f389040 libavformat/raw.c

View differences:

libavformat/raw.c
25 25

  
26 26
/* simple formats */
27 27

  
28
#if CONFIG_NULL_MUXER
29
static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt)
30
{
31
    return 0;
32
}
33
#endif
34

  
35 28
#if CONFIG_MUXERS
36 29
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
37 30
{
......
530 523
};
531 524
#endif
532 525

  
533
#if CONFIG_NULL_MUXER
534
AVOutputFormat null_muxer = {
535
    "null",
536
    NULL_IF_CONFIG_SMALL("raw null video format"),
537
    NULL,
538
    NULL,
539
    0,
540
    AV_NE(CODEC_ID_PCM_S16BE, CODEC_ID_PCM_S16LE),
541
    CODEC_ID_RAWVIDEO,
542
    NULL,
543
    null_write_packet,
544
    .flags = AVFMT_NOFILE | AVFMT_RAWPICTURE | AVFMT_NOTIMESTAMPS,
545
};
546
#endif
547

  
548 526
#if CONFIG_RAWVIDEO_DEMUXER
549 527
AVInputFormat rawvideo_demuxer = {
550 528
    "rawvideo",

Also available in: Unified diff