[xiph-commits] r15589 - trunk/ffmpeg2theora/src
oggk at svn.xiph.org
oggk at svn.xiph.org
Wed Dec 17 10:45:08 PST 2008
Author: oggk
Date: 2008-12-17 10:45:08 -0800 (Wed, 17 Dec 2008)
New Revision: 15589
Modified:
trunk/ffmpeg2theora/src/subtitles.c
Log:
do not drop UTF-8 subtitles on the floor is --subtitles-ignore-non-utf8
is not used (ok'd by j)
Modified: trunk/ffmpeg2theora/src/subtitles.c
===================================================================
--- trunk/ffmpeg2theora/src/subtitles.c 2008-12-17 15:43:47 UTC (rev 15588)
+++ trunk/ffmpeg2theora/src/subtitles.c 2008-12-17 18:45:08 UTC (rev 15589)
@@ -184,6 +184,9 @@
fprintf(stderr, "WARNING - Found non utf8 character(s) in string %s, scrubbed out\n", text);
}
}
+ else {
+ newtext = strdup(text);
+ }
break;
case ENC_ISO_8859_1:
/* simple, characters above 0x7f are broken in two,
More information about the commits
mailing list