summaryrefslogtreecommitdiff
path: root/libavformat/version.h
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2021-11-30 00:38:30 +0100
committerMarton Balint <cus@passwd.hu>2021-12-12 00:32:20 +0100
commit64834bb86a133400970d203656a30ae6a3d2832f (patch)
tree5a037263437ff816b44b5209c18d8e61c6c99915 /libavformat/version.h
parent8d66a07d657ba7ed8c5e95345d4eec770b55e438 (diff)
downloadffmpeg-64834bb86a133400970d203656a30ae6a3d2832f.tar.gz
avformat: introduce AVFormatContext io_close2 which returns an int
Otherwise there is no way to detect an error returned by avio_close() because ff_format_io_close cannot get the return value. Checking the return value of the close function is important in order to check if all data was successfully written and the underlying close() operation was successful. It can also be useful even for read mode because it can return any pending AVIOContext error, so the user don't have to manually check AVIOContext->error. In order to still support if the user overrides io_close, the generic code only uses io_close2 if io_close is either NULL or the default io_close callback. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/version.h')
-rw-r--r--libavformat/version.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/version.h b/libavformat/version.h
index 0705ee4112..1623835a78 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -32,8 +32,8 @@
// Major bumping may affect Ticket5467, 5421, 5451(compatibility with Chromium)
// Also please add any ticket numbers that you believe might be affected here
#define LIBAVFORMAT_VERSION_MAJOR 59
-#define LIBAVFORMAT_VERSION_MINOR 9
-#define LIBAVFORMAT_VERSION_MICRO 102
+#define LIBAVFORMAT_VERSION_MINOR 10
+#define LIBAVFORMAT_VERSION_MICRO 100
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \