summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-29 19:41:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-29 19:48:03 +0200
commitc2625c26c5e58edfa39360b51125f1ddd593e4db (patch)
tree6a2030197973c643876b85848c48f6a68f2a12dd /libavcodec/mpegvideo.c
parentf8f42f48218138d37956407ebf10227eb86d4a2d (diff)
downloadffmpeg-c2625c26c5e58edfa39360b51125f1ddd593e4db.tar.gz
mpegvideo: implement ff_put_h264_chroma_mc1 & ff_avg_h264_chroma_mc2
These are needed for lowres 3 This may fix Ticket2538 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index e76fc34c99..8c9553a269 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -2179,7 +2179,7 @@ static inline int hpel_motion_lowres(MpegEncContext *s,
int motion_x, int motion_y)
{
const int lowres = s->avctx->lowres;
- const int op_index = FFMIN(lowres, 2);
+ const int op_index = FFMIN(lowres, 3);
const int s_mask = (2 << lowres) - 1;
int emu = 0;
int sx, sy;