]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/vc1testenc.c
Merge branch 'ronalds_buggy_gt8bit_sws'
[ffmpeg] / libavformat / vc1testenc.c
index 89ee9ef78c7ae64fd0fc2a2a481dbac5a6e079e6..9a77e924a1d3ff9d33472ba52f2a6d38b6efe7fd 100644 (file)
@@ -73,7 +73,7 @@ static int vc1test_write_trailer(AVFormatContext *s)
     RCVContext *ctx = s->priv_data;
     AVIOContext *pb = s->pb;
 
-    if (!url_is_streamed(s->pb)) {
+    if (s->pb->seekable) {
         avio_seek(pb, 0, SEEK_SET);
         avio_wl24(pb, ctx->frames);
         avio_flush(pb);