]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/vc1testenc.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / vc1testenc.c
index cf95d1d80d2f7d0ef3e6109b15579fb6396fa413..4bc95026f56c33f57907cbb59efb9cceba81472b 100644 (file)
@@ -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",