]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avio.h
lavf/avio: temporarily accept 0 as EOF.
[ffmpeg] / libavformat / avio.h
index 19ecd96eb77abaca6f422a209b118673b00977c9..76ff7cd81ea7abfbb800c57945519790a852f9fb 100644 (file)
@@ -452,6 +452,8 @@ void avio_free_directory_entry(AVIODirEntry **entry);
  * @param write_flag Set to 1 if the buffer should be writable, 0 otherwise.
  * @param opaque An opaque pointer to user-specific data.
  * @param read_packet  A function for refilling the buffer, may be NULL.
+ *                     For stream protocols, must never return 0 but rather
+ *                     a proper AVERROR code.
  * @param write_packet A function for writing the buffer contents, may be NULL.
  *        The function may not change the input buffers content.
  * @param seek A function for seeking to specified byte position, may be NULL.