[vlc-devel] [PATCH] live555: retrieve RTSP track languages from SDP
Gilles Chanteperdrix
gilles.chanteperdrix at xenomai.org
Tue Dec 17 01:57:59 CET 2013
On 12/17/2013 01:23 AM, Jean-Baptiste Kempf wrote:
> On 17 Dec, Gilles Chanteperdrix wrote :
>> + /* Try and parse a=lang: attribute */
>> + lang = strstr(sub->savedSDPLines(), "a=lang:");
>> + if (lang) {
>> + tk->fmt.psz_language = (char *)malloc(strlen(lang) + 1);
>> + sscanf(lang, "a=lang:%s", tk->fmt.psz_language);
>> + }
>
> Please, no tabs in source code.
That is going to be annoying, as the other code I am working on usually
requires the contrary...
--
Gilles.
More information about the vlc-devel
mailing list