psx-str: do not allow seeking by bytes
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 17 Jan 2012 15:16:34 +0000 (10:16 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 29 Feb 2012 20:45:50 +0000 (15:45 -0500)
libavformat/psxstr.c

index 988d1f0..61e24e2 100644 (file)
@@ -265,4 +265,5 @@ AVInputFormat ff_str_demuxer = {
     .read_header    = str_read_header,
     .read_packet    = str_read_packet,
     .read_close     = str_read_close,
+    .flags          = AVFMT_NO_BYTE_SEEK,
 };