[FFmpeg-devel] [PATCH 2/2] avformat/avformat: Document return codes for av_format_(de)init

Andrew Sayers ffmpeg-devel at pileofstuff.org
Fri Apr 19 19:59:46 EEST 2024


---
 libavformat/avformat.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 8afdcd9fd0..0feaeded0e 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1944,12 +1944,16 @@ const char *avformat_license(void);
  * This function will be deprecated once support for older GnuTLS and
  * OpenSSL libraries is removed, and this function has no purpose
  * anymore.
+ *
+ * @return 0 on success, !=0 on error.
  */
 int avformat_network_init(void);
 
 /**
  * Undo the initialization done by avformat_network_init. Call it only
  * once for each time you called avformat_network_init.
+ *
+ * @return 0 on success, !=0 on error.
  */
 int avformat_network_deinit(void);
 
-- 
2.43.0



More information about the ffmpeg-devel mailing list