summaryrefslogtreecommitdiff
path: root/libavcodec/svq3.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-06-18 22:00:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-06-18 22:00:23 +0000
commitc009df3f864d0878c25bc6bc692a9f38b176982f (patch)
treea55a052051bc9b21e8373d2768ced2f1c763c063 /libavcodec/svq3.c
parentcebe4432e9d0b62a4eebd0c9a5d8252abab6e1ec (diff)
downloadffmpeg-c009df3f864d0878c25bc6bc692a9f38b176982f.tar.gz
make ff_emulated_edge_mc() independant of MpegEncContext
Originally committed as revision 1971 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r--libavcodec/svq3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index d15bb98034..72e5baf5e9 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -287,7 +287,7 @@ static inline void svq3_mc_dir_part (MpegEncContext *s, int x, int y,
src = s->last_picture.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;
}
@@ -308,7 +308,7 @@ static inline void svq3_mc_dir_part (MpegEncContext *s, int x, int y,
src = s->last_picture.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;
}