]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avio.h
Check for oom in the dirac parser.
[ffmpeg] / libavformat / avio.h
index 2210c015a00cd7515b1f45f381cfb6c873e8aed7..86f754e2fbc6c7784706ddbce90bf3752a105122 100644 (file)
@@ -289,10 +289,14 @@ int url_feof(AVIOContext *s);
 int avio_printf(AVIOContext *s, const char *fmt, ...) av_printf_format(2, 3);
 
 /**
- * Force flushing of buffered data to the output s.
+ * Force flushing of buffered data.
  *
- * Force the buffered data to be immediately written to the output,
+ * For write streams, force the buffered data to be immediately written to the output,
  * without to wait to fill the internal buffer.
+ *
+ * For read streams, discard all currently buffered data, and advance the
+ * reported file position to that of the underlying stream. This does not
+ * read new data, and does not perform any seeks.
  */
 void avio_flush(AVIOContext *s);