X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fvc1testenc.c;h=4bc95026f56c33f57907cbb59efb9cceba81472b;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=cf95d1d80d2f7d0ef3e6109b15579fb6396fa413;hpb=de33b3e457a656230fc6d544a1889218d77a5b3c;p=ffmpeg diff --git a/libavformat/vc1testenc.c b/libavformat/vc1testenc.c index cf95d1d80d2..4bc95026f56 100644 --- a/libavformat/vc1testenc.c +++ b/libavformat/vc1testenc.c @@ -76,12 +76,11 @@ static int vc1test_write_trailer(AVFormatContext *s) if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) { avio_seek(pb, 0, SEEK_SET); avio_wl24(pb, ctx->frames); - avio_flush(pb); } return 0; } -AVOutputFormat ff_vc1t_muxer = { +const AVOutputFormat ff_vc1t_muxer = { .name = "vc1test", .long_name = NULL_IF_CONFIG_SMALL("VC-1 test bitstream"), .extensions = "rcv",