From 26b64550d61a24c6eb83c2bb4805155763dc94fa Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 1 Nov 2011 12:52:19 +0100 Subject: mmsh: add return value for mmsh_open() Found-by: cptspiff Signed-off-by: Michael Niedermayer --- libavformat/mmsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mmsh.c') diff --git a/libavformat/mmsh.c b/libavformat/mmsh.c index ab7e9d9f7c..f54a976e19 100644 --- a/libavformat/mmsh.c +++ b/libavformat/mmsh.c @@ -317,7 +317,7 @@ fail: static int mmsh_open(URLContext *h, const char *uri, int flags) { - mmsh_open_internal(h, uri, flags, 0, 0); + return mmsh_open_internal(h, uri, flags, 0, 0); } static int handle_chunk_type(MMSHContext *mmsh) -- cgit v1.2.3