X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frmenc.c;h=1b2b0ecf3841474cfd05e9ca9ed68bd950b79abd;hb=0814610ee35614e417d6942784f7b299f2414a9b;hp=3bff4daf0a72c08c89b2b15cecb603af3f7b12a4;hpb=bad70b7af6b909691f5389e14eb7d0c03db10af9;p=ffmpeg diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c index 3bff4daf0a7..1b2b0ecf384 100644 --- a/libavformat/rmenc.c +++ b/libavformat/rmenc.c @@ -360,7 +360,6 @@ static int rm_write_header(AVFormatContext *s) if (rv10_write_header(s, 0, 0)) return AVERROR_INVALIDDATA; - avio_flush(s->pb); return 0; } @@ -466,7 +465,7 @@ static int rm_write_trailer(AVFormatContext *s) } -AVOutputFormat ff_rm_muxer = { +const AVOutputFormat ff_rm_muxer = { .name = "rm", .long_name = NULL_IF_CONFIG_SMALL("RealMedia"), .mime_type = "application/vnd.rn-realmedia",