Commit 0617d569 authored by tmmm's avatar tmmm

don't step on the context


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1976 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 55c62245
......@@ -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,7 +312,7 @@ 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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment