changeset 1321:2365b4dfc450 libavcodec

don't step on the context
author tmmm
date Fri, 20 Jun 2003 02:38:29 +0000
parents 7979b98470c8
children f78341ab5fba
files svq3.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/svq3.c	Fri Jun 20 02:22:25 2003 +0000
+++ b/svq3.c	Fri Jun 20 02:38:29 2003 +0000
@@ -291,7 +291,7 @@
   src  = pic->data[0] + mx + my*s->linesize;
 
   if (emu) {
-    ff_emulated_edge_mc (s, src, s->linesize, (width + 1), (height + 1),
+    ff_emulated_edge_mc (s->edge_emu_buffer, src, s->linesize, (width + 1), (height + 1),
 			 mx, my, s->h_edge_pos, s->v_edge_pos);
     src = s->edge_emu_buffer;
   }
@@ -312,9 +312,9 @@
       src  = pic->data[i] + mx + my*s->uvlinesize;
 
       if (emu) {
-	ff_emulated_edge_mc (s, src, s->uvlinesize, (width + 1), (height + 1),
+        ff_emulated_edge_mc (s->edge_emu_buffer, src, s->uvlinesize, (width + 1), (height + 1),
 			     mx, my, (s->h_edge_pos >> 1), (s->v_edge_pos >> 1));
-	src = s->edge_emu_buffer;
+        src = s->edge_emu_buffer;
       }
       if(thirdpel)
         (avg ? s->dsp.avg_tpel_pixels_tab : s->dsp.put_tpel_pixels_tab)[dxy](dest, src, s->uvlinesize, width, height);