]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/aiffenc.c
lavf: fix usage of AVIOContext.seekable
[ffmpeg] / libavformat / aiffenc.c
index 6449c00cada7db9e794e93b070580d264a1b3c3b..191e746672fad47fb5c9791f01a64f0002a56adf 100644 (file)
@@ -129,7 +129,7 @@ static int aiff_write_trailer(AVFormatContext *s)
         end_size++;
     }
 
-    if (s->pb->seekable) {
+    if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) {
         /* File length */
         avio_seek(pb, aiff->form, SEEK_SET);
         avio_wb32(pb, file_size - aiff->form - 4);