[vlc-commits] Fixed the return value of STREAM_GET_CONTENT_TYPE in the rar stream_filter.

Laurent Aimar git at videolan.org
Sun Dec 11 20:20:00 CET 2011


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 11 11:42:43 2011 +0100| [63fafad4ad2963880aa814ae35ec4f3f217e1f76] | committer: Laurent Aimar

Fixed the return value of STREAM_GET_CONTENT_TYPE in the rar stream_filter.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=63fafad4ad2963880aa814ae35ec4f3f217e1f76
---

 modules/access/rar/stream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/rar/stream.c b/modules/access/rar/stream.c
index fcf9180..3b9aa13 100644
--- a/modules/access/rar/stream.c
+++ b/modules/access/rar/stream.c
@@ -76,7 +76,7 @@ static int Control(stream_t *s, int query, va_list args)
     case STREAM_GET_CONTENT_TYPE: {
         char **mime = va_arg(args, char **);
         *mime = strdup("audio/x-mpegurl");
-        return VLC_EGENERIC;
+        return VLC_SUCCESS;
     }
     default:
         return stream_vaControl(s->p_sys->payload, query, args);



More information about the vlc-commits mailing list