[xiph-commits] r15112 - branches/theora_multithread_decode_omp/lib/dec

piga at svn.xiph.org piga at svn.xiph.org
Mon Jul 14 11:18:41 PDT 2008


Author: piga
Date: 2008-07-14 11:18:41 -0700 (Mon, 14 Jul 2008)
New Revision: 15112

Modified:
   branches/theora_multithread_decode_omp/lib/dec/decode.c
Log:
Some bug fixes


Modified: branches/theora_multithread_decode_omp/lib/dec/decode.c
===================================================================
--- branches/theora_multithread_decode_omp/lib/dec/decode.c	2008-07-14 17:57:44 UTC (rev 15111)
+++ branches/theora_multithread_decode_omp/lib/dec/decode.c	2008-07-14 18:18:41 UTC (rev 15112)
@@ -1438,10 +1438,10 @@
   int  pli;
   /*If chroma is sub-sampled in the vertical direction, we have to decode two
      super block rows of Y' for each super block row of Cb and Cr.*/
-  if (_state->info.frame_height > 256) {
+  if (_dec->state.info.frame_height > 256) {
     _pipe->mcu_nvfrags=128<<!(_dec->state.info.pixel_fmt&2);
   } else {
-    _pipe->mcu_nvfrags=_state->info.frame_height;
+    _pipe->mcu_nvfrags=_dec->state.info.frame_height;
   }
   /*Initialize the token and extra bits indices for each plane and
      coefficient.*/



More information about the commits mailing list