[FFmpeg-cvslog] mmsh: add return value for mmsh_open()

Michael Niedermayer git at videolan.org
Tue Nov 1 13:07:25 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov  1 12:52:19 2011 +0100| [26b64550d61a24c6eb83c2bb4805155763dc94fa] | committer: Michael Niedermayer

mmsh: add return value for mmsh_open()

Found-by: cptspiff
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=26b64550d61a24c6eb83c2bb4805155763dc94fa
---

 libavformat/mmsh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/mmsh.c b/libavformat/mmsh.c
index ab7e9d9..f54a976 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)



More information about the ffmpeg-cvslog mailing list