]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avio.h
mxfdec: Make sure x < index_table->nb_ptses
[ffmpeg] / libavformat / avio.h
index 7cf14f9f8c87a888c1b86de9602dc3f2f35a6c0b..920526f028158a7c5e0d8874f2dde88d1bd32c29 100644 (file)
@@ -120,6 +120,12 @@ typedef struct {
      * A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
      */
     int seekable;
+
+    /**
+     * max filesize, used to limit allocations
+     * This field is internal to libavformat and access from outside is not allowed.
+     */
+     int64_t maxsize;
 } AVIOContext;
 
 /* unbuffered I/O */