[vlc-devel] Re: [PATCH] Subtitle Support Again
Christophe Mutricy
xtophe at nxtelevision.com
Wed Feb 7 23:37:47 CET 2007
On Wed, Feb 07, 07 at 16:22 -0500, Aaron Mady wrote:
> Took some further time looking at stripping out subtitle
> comments and so here is the new patch. This version now also finds
> embedded formatting tags, but for the time being just prints them out as a
> message. That should be useful for future work on formatting, however.
>
> + while ( psz_buffer_sub[0] != '\0' &&
> + psz_buffer_sub[0] != '}' )
> + {
> + if ( psz_buffer_sub[0] == '\\' && ( psz_buffer_sub[1] == 'n' || psz_buffer_sub[1] == 'N' ) )
> + {
> + psz_buffer_sub += 2;
> + break;
> + }
What is this bit doing ?
> + psz_buffer_sub++;
> + }
> + psz_buffer_sub++;
> + }
> +
--
Xtophe
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list