Revision 7cf09995 libavformat/raw.c

View differences:

libavformat/raw.c
62 62
    put_flush_packet(&s->pb);
63 63
    return 0;
64 64
}
65

  
66
static int raw_write_trailer(struct AVFormatContext *s)
67
{
68
    return 0;
69
}
70 65
#endif //CONFIG_MUXERS
71 66

  
72 67
/* raw input */
......
481 476
    0,
482 477
    flac_write_header,
483 478
    raw_write_packet,
484
    raw_write_trailer,
485 479
    .flags= AVFMT_NOTIMESTAMPS,
486 480
};
487 481
#endif //CONFIG_MUXERS
......
511 505
    0,
512 506
    raw_write_header,
513 507
    raw_write_packet,
514
    raw_write_trailer,
515 508
    .flags= AVFMT_NOTIMESTAMPS,
516 509
};
517 510
#endif //CONFIG_MUXERS
......
552 545
    CODEC_ID_ROQ,
553 546
    roq_write_header,
554 547
    raw_write_packet,
555
    raw_write_trailer,
556 548
};
557 549
#endif //CONFIG_ROQ_MUXER
558 550

  
......
580 572
    CODEC_ID_H261,
581 573
    raw_write_header,
582 574
    raw_write_packet,
583
    raw_write_trailer,
584 575
    .flags= AVFMT_NOTIMESTAMPS,
585 576
};
586 577
#endif //CONFIG_MUXERS
......
609 600
    CODEC_ID_H263,
610 601
    raw_write_header,
611 602
    raw_write_packet,
612
    raw_write_trailer,
613 603
    .flags= AVFMT_NOTIMESTAMPS,
614 604
};
615 605
#endif //CONFIG_MUXERS
......
638 628
    CODEC_ID_MPEG4,
639 629
    raw_write_header,
640 630
    raw_write_packet,
641
    raw_write_trailer,
642 631
    .flags= AVFMT_NOTIMESTAMPS,
643 632
};
644 633
#endif //CONFIG_MUXERS
......
667 656
    CODEC_ID_H264,
668 657
    raw_write_header,
669 658
    raw_write_packet,
670
    raw_write_trailer,
671 659
    .flags= AVFMT_NOTIMESTAMPS,
672 660
};
673 661
#endif //CONFIG_MUXERS
......
695 683
    CODEC_ID_MPEG1VIDEO,
696 684
    raw_write_header,
697 685
    raw_write_packet,
698
    raw_write_trailer,
699 686
    .flags= AVFMT_NOTIMESTAMPS,
700 687
};
701 688
#endif //CONFIG_MUXERS
......
711 698
    CODEC_ID_MPEG2VIDEO,
712 699
    raw_write_header,
713 700
    raw_write_packet,
714
    raw_write_trailer,
715 701
    .flags= AVFMT_NOTIMESTAMPS,
716 702
};
717 703
#endif //CONFIG_MUXERS
......
753 739
    CODEC_ID_MJPEG,
754 740
    raw_write_header,
755 741
    raw_write_packet,
756
    raw_write_trailer,
757 742
    .flags= AVFMT_NOTIMESTAMPS,
758 743
};
759 744
#endif //CONFIG_MUXERS
......
798 783
    0,\
799 784
    raw_write_header,\
800 785
    raw_write_packet,\
801
    raw_write_trailer,\
802 786
    .flags= AVFMT_NOTIMESTAMPS,\
803 787
};
804 788

  
......
896 880
    CODEC_ID_RAWVIDEO,
897 881
    raw_write_header,
898 882
    raw_write_packet,
899
    raw_write_trailer,
900 883
    .flags= AVFMT_NOTIMESTAMPS,
901 884
};
902 885
#endif //CONFIG_MUXERS
......
921 904
    CODEC_ID_RAWVIDEO,
922 905
    raw_write_header,
923 906
    null_write_packet,
924
    raw_write_trailer,
925 907
    .flags = AVFMT_NOFILE | AVFMT_RAWPICTURE | AVFMT_NOTIMESTAMPS,
926 908
};
927 909
#endif //CONFIG_MUXERS

Also available in: Unified diff