[xiph-commits] r16234 - trunk/ffmpeg2theora/src

oggk at svn.xiph.org oggk at svn.xiph.org
Thu Jul 9 09:07:40 PDT 2009


Author: oggk
Date: 2009-07-09 09:07:40 -0700 (Thu, 09 Jul 2009)
New Revision: 16234

Modified:
   trunk/ffmpeg2theora/src/subtitles.c
Log:
fix setting encoding using the wrong slot



Modified: trunk/ffmpeg2theora/src/subtitles.c
===================================================================
--- trunk/ffmpeg2theora/src/subtitles.c	2009-07-09 05:40:32 UTC (rev 16233)
+++ trunk/ffmpeg2theora/src/subtitles.c	2009-07-09 16:07:40 UTC (rev 16234)
@@ -118,7 +118,7 @@
 void set_subtitles_encoding(ff2theora this,F2T_ENCODING encoding){
   size_t n;
   for (n=0; n<this->n_kate_streams;++n) {
-    if (this->kate_streams[n].stream_index==-1 && !this->kate_streams[n].subtitles_encoding==ENC_UNSET) break;
+    if (this->kate_streams[n].stream_index==-1 && this->kate_streams[n].subtitles_encoding==ENC_UNSET) break;
   }
   if (n==this->n_kate_streams) add_kate_stream(this);
   this->kate_streams[n].subtitles_encoding = encoding;



More information about the commits mailing list