From 776cda748d08860676ea29fa87c8c224ef0d8240 Mon Sep 17 00:00:00 2001 From: Lukasz Marek Date: Fri, 14 Feb 2014 23:20:46 +0100 Subject: [PATCH] lavc/motion_est: remove unused variable Signed-off-by: Lukasz Marek Signed-off-by: Michael Niedermayer --- libavcodec/motion_est.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index f4d217bf30..5ca59aa2e5 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -390,10 +390,9 @@ static int sad_hpel_motion_search(MpegEncContext * s, int mx, my, dminh; uint8_t *pix, *ptr; int stride= c->stride; - const int flags= c->sub_flags; LOAD_COMMON - av_assert2(flags == 0); + av_assert2(c->sub_flags == 0); if(c->skip){ *mx_ptr = 0;