Add c64x changes for r17563, as they were accidentally omitted.
authorTim Terriberry <tterribe@xiph.org>
Mon, 25 Oct 2010 21:11:10 +0000 (21:11 +0000)
committerTim Terriberry <tterribe@xiph.org>
Mon, 25 Oct 2010 21:11:10 +0000 (21:11 +0000)
svn path=/trunk/theora/; revision=17564

lib/c64x/c64xfrag.c

index fccf290..5e16acd 100644 (file)
@@ -190,12 +190,12 @@ void oc_state_frag_recon_c64x(const oc_theora_state *_state,ptrdiff_t _fragi,
   frag_buf_off=_state->frag_buf_offs[_fragi];
   refi=_state->frags[_fragi].refi;
   ystride=_state->ref_ystride[_pli];
-  dst=_state->ref_frame_data[_state->ref_frame_idx[OC_FRAME_SELF]]+frag_buf_off;
+  dst=_state->ref_frame_data[OC_FRAME_SELF]+frag_buf_off;
   if(refi==OC_FRAME_SELF)oc_frag_recon_intra_c64x(dst,ystride,_dct_coeffs+64);
   else{
     const unsigned char *ref;
     int                  mvoffsets[2];
-    ref=_state->ref_frame_data[_state->ref_frame_idx[refi]]+frag_buf_off;
+    ref=_state->ref_frame_data[refi]+frag_buf_off;
     if(oc_state_get_mv_offsets(_state,mvoffsets,_pli,
      _state->frag_mvs[_fragi])>1){
       oc_frag_recon_inter2_c64x(dst,ref+mvoffsets[0],ref+mvoffsets[1],