diff mbox series

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

Message ID 20240419172309.101782-2-ffmpeg-devel@pileofstuff.org
State New
Headers show
Series [FFmpeg-devel,v2,1/2] avformat/network: Return a proper negative error code from ff_network_init() | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andrew Sayers April 19, 2024, 5:23 p.m. UTC
---
 libavformat/avformat.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 8afdcd9fd0..ea816a0b22 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);