summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc_chain.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-05-25 22:26:00 +0300
committerMartin Storsjö <martin@martin.st>2012-05-26 13:35:44 +0300
commit68c813081b48aaa910cd2e7832314a529c4c4a36 (patch)
tree686b6e789214b8092e042c086b616189f16ad125 /libavformat/rtpenc_chain.h
parent93cef6f923d9842b647665f3b42342fa71887a18 (diff)
rtpenc_chain: Return an error code instead of just a plain pointer
Also check the return value in sapenc. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpenc_chain.h')
-rw-r--r--libavformat/rtpenc_chain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpenc_chain.h b/libavformat/rtpenc_chain.h
index 6bdddcfe99..66b9e4cd0a 100644
--- a/libavformat/rtpenc_chain.h
+++ b/libavformat/rtpenc_chain.h
@@ -25,7 +25,7 @@
#include "avformat.h"
#include "url.h"
-AVFormatContext *ff_rtp_chain_mux_open(AVFormatContext *s, AVStream *st,
- URLContext *handle, int packet_size);
+int ff_rtp_chain_mux_open(AVFormatContext **out, AVFormatContext *s,
+ AVStream *st, URLContext *handle, int packet_size);
#endif /* AVFORMAT_RTPENC_CHAIN_H */