Revision 7cf09995

View differences:

libavformat/adtsenc.c
89 89
    return 0;
90 90
}
91 91

  
92
static int adts_write_trailer(AVFormatContext *s)
93
{
94
    return 0;
95
}
96

  
97 92
static int adts_write_packet(AVFormatContext *s, AVPacket *pkt)
98 93
{
99 94
    ADTSContext *adts = s->priv_data;
......
119 114
    CODEC_ID_NONE,
120 115
    adts_write_header,
121 116
    adts_write_packet,
122
    adts_write_trailer,
123 117
};
libavformat/amr.c
60 60
    put_flush_packet(&s->pb);
61 61
    return 0;
62 62
}
63

  
64
static int amr_write_trailer(AVFormatContext *s)
65
{
66
    return 0;
67
}
68 63
#endif /* CONFIG_MUXERS */
69 64

  
70 65
static int amr_probe(AVProbeData *p)
......
194 189
    CODEC_ID_NONE,
195 190
    amr_write_header,
196 191
    amr_write_packet,
197
    amr_write_trailer,
198 192
};
199 193
#endif
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
libavformat/rtp.c
1055 1055
    return 0;
1056 1056
}
1057 1057

  
1058
static int rtp_write_trailer(AVFormatContext *s1)
1059
{
1060
    //    RTPDemuxContext *s = s1->priv_data;
1061
    return 0;
1062
}
1063

  
1064 1058
AVOutputFormat rtp_muxer = {
1065 1059
    "rtp",
1066 1060
    "RTP output format",
......
1071 1065
    CODEC_ID_NONE,
1072 1066
    rtp_write_header,
1073 1067
    rtp_write_packet,
1074
    rtp_write_trailer,
1075 1068
};
libavformat/yuv4mpeg.c
166 166
    return 0;
167 167
}
168 168

  
169
static int yuv4_write_trailer(AVFormatContext *s)
170
{
171
    return 0;
172
}
173

  
174 169
#ifdef CONFIG_YUV4MPEGPIPE_MUXER
175 170
AVOutputFormat yuv4mpegpipe_muxer = {
176 171
    "yuv4mpegpipe",
......
182 177
    CODEC_ID_RAWVIDEO,
183 178
    yuv4_write_header,
184 179
    yuv4_write_packet,
185
    yuv4_write_trailer,
186 180
    .flags = AVFMT_RAWPICTURE,
187 181
};
188 182
#endif

Also available in: Unified diff