[MPlayer-dev-eng] [PATCH] SAMI subtitle files (subreader.c)

Bruno Lecointre bruno-lecointre at pacbell.net
Sun Aug 24 19:45:31 CEST 2003


Hi,
well, the idea was to be somwhat optimized and since haystack may be big,
I wanted to avoid a strlen on haystack. And the double test doesn't
optimize anything actually, I thought it was a good idea earaly this
morning but it's not. A simple
  while (*p != '\0')
is better actually.

Cheers,
Bruno



More information about the MPlayer-dev-eng mailing list