Commit 5e015eee authored by Christophe Mutricy's avatar Christophe Mutricy

Correctly parse the media type (Fix #1552)

parent c1c81073
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* sap.c : SAP interface module * sap.c : SAP interface module
***************************************************************************** *****************************************************************************
* Copyright (C) 2004-2005 the VideoLAN team * Copyright (C) 2004-2005 the VideoLAN team
* $Id$ * $Id: 797099ef1b4316d247401fb5e40a2edebe0e9f48 $
* *
* Authors: Clément Stenac <zorglub@videolan.org> * Authors: Clément Stenac <zorglub@videolan.org>
* *
...@@ -1045,6 +1045,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp ) ...@@ -1045,6 +1045,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
if( !strcmp( psz_parse, "RTP/AVP" ) ) if( !strcmp( psz_parse, "RTP/AVP" ) )
{ {
psz_proto = "rtp"; psz_proto = "rtp";
psz_parse = psz_eof + 1;
p_sdp->i_media_type = atoi( psz_parse ); p_sdp->i_media_type = atoi( psz_parse );
} }
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment