diff options
author | Mike Melanson <mike@multimedia.cx> | 2003-06-20 02:38:29 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2003-06-20 02:38:29 +0000 |
commit | a7d3e7729ad2acde4acec45ddc9f61a1a23be05b (patch) | |
tree | f2cba974d4d8014fd9c677d462d262138344c320 /libavcodec/svq3.c | |
parent | 4e8eed2f3b8fd7779b00b5528bc07b8dc55973ef (diff) | |
download | ffmpeg-streaming-a7d3e7729ad2acde4acec45ddc9f61a1a23be05b.zip ffmpeg-streaming-a7d3e7729ad2acde4acec45ddc9f61a1a23be05b.tar.gz |
don't step on the context
Originally committed as revision 1976 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index e565bd0..24762f8 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -291,7 +291,7 @@ static inline void svq3_mc_dir_part (MpegEncContext *s, 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 @@ static inline void svq3_mc_dir_part (MpegEncContext *s, 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); |