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)