X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Favio.h;h=76ff7cd81ea7abfbb800c57945519790a852f9fb;hb=a606f27f4c610708fa96e35eed7b7537d3d8f712;hp=19ecd96eb77abaca6f422a209b118673b00977c9;hpb=7f9de7b416c97b96aee2cf9025db382c71756806;p=ffmpeg diff --git a/libavformat/avio.h b/libavformat/avio.h index 19ecd96eb77..76ff7cd81ea 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -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.