[xiph-commits] r16294 - in branches/theora-thusnelda: examples lib/dec/x86_vc

cristianadam at svn.xiph.org cristianadam at svn.xiph.org
Thu Jul 16 14:48:42 PDT 2009


Author: cristianadam
Date: 2009-07-16 14:48:41 -0700 (Thu, 16 Jul 2009)
New Revision: 16294

Modified:
   branches/theora-thusnelda/examples/dump_video.c
   branches/theora-thusnelda/lib/dec/x86_vc/mmxstate.c
Log:
Fixed compilation error on MSVC compilers.

Modified: branches/theora-thusnelda/examples/dump_video.c
===================================================================
--- branches/theora-thusnelda/examples/dump_video.c	2009-07-16 21:25:27 UTC (rev 16293)
+++ branches/theora-thusnelda/examples/dump_video.c	2009-07-16 21:48:41 UTC (rev 16294)
@@ -35,7 +35,6 @@
 #endif
 
 #include <stdio.h>
-#include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/timeb.h>

Modified: branches/theora-thusnelda/lib/dec/x86_vc/mmxstate.c
===================================================================
--- branches/theora-thusnelda/lib/dec/x86_vc/mmxstate.c	2009-07-16 21:25:27 UTC (rev 16293)
+++ branches/theora-thusnelda/lib/dec/x86_vc/mmxstate.c	2009-07-16 21:48:41 UTC (rev 16294)
@@ -76,7 +76,7 @@
   int                  ystride;
   dst_frame_data=_state->ref_frame_data[_state->ref_frame_idx[_dst_frame]];
   src_frame_data=_state->ref_frame_data[_state->ref_frame_idx[_src_frame]];
-  ystride=_state->ref_frame_bufs[0][_pli].stride;
+  ystride=_state->ref_ystride[_pli];
   frag_buf_offs=_state->frag_buf_offs;
   for(fragii=0;fragii<_nfragis;fragii++){
     ptrdiff_t frag_buf_off;



More information about the commits mailing list