[FFmpeg-devel] [PATCH] movtextdec: MPEG4 Part 17 Timed Text Decoder.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sat Jun 30 20:19:54 CEST 2012
On Sat, Jun 23, 2012 at 02:17:49PM -0700, Philip Langdale wrote:
> + if (!line_start && *(text + 1) != ' ' &&
> + *(text + 1) != '\r' && *(text + 1) != '\r')
IMHO text[1] is far more readable syntax than *(text + 1)
Also you could make it discard trailing spaces while at it by also
checking for !text[1] or not?
More information about the ffmpeg-devel
mailing list