aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/network.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-22 15:50:48 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-03 02:21:55 +0100
commit7620d48f2eab67812d8c535d12a98eaa754a1177 (patch)
treefa54495c95ff5b4c0b6fa991124dc78e90732646 /libavformat/network.h
parent9d7ae72725e16bc4b53ed6ccedf86d0ae2853809 (diff)
downloadffmpeg-7620d48f2eab67812d8c535d12a98eaa754a1177.tar.gz
avformat/network: Check for av_malloc* failures in ff_tls_init()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/network.h')
-rw-r--r--libavformat/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/network.h b/libavformat/network.h
index 0d1081ad1f..86fb656164 100644
--- a/libavformat/network.h
+++ b/libavformat/network.h
@@ -78,7 +78,7 @@ extern int ff_network_inited_globally;
int ff_network_init(void);
void ff_network_close(void);
-void ff_tls_init(void);
+int ff_tls_init(void);
void ff_tls_deinit(void);
int ff_network_wait_fd(int fd, int write);