]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rsoenc.c
avio: introduce an AVIOContext.seekable field
[ffmpeg] / libavformat / rsoenc.c
index cfa54f1142a0cb27cd1ed9ca1ca79dea92e49c26..338ecf01733d525e96bbacedd8341aa56b34c7bf 100644 (file)
@@ -38,7 +38,7 @@ static int rso_write_header(AVFormatContext *s)
         return AVERROR_INVALIDDATA;
     }
 
-    if (url_is_streamed(s->pb)) {
+    if (!s->pb->seekable) {
         av_log(s, AV_LOG_ERROR, "muxer does not support non seekable output\n");
         return AVERROR_INVALIDDATA;
     }