summaryrefslogtreecommitdiff
path: root/libavcodec/motion_est.c
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki@gmail.com>2014-02-14 23:20:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-15 13:07:54 +0100
commit776cda748d08860676ea29fa87c8c224ef0d8240 (patch)
treeaa4a3dd2623ab98d27f6069b70b2a3f46684346e /libavcodec/motion_est.c
parent709746b6affb5c87aee0c3b8ddb0a078453c6162 (diff)
lavc/motion_est: remove unused variable
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r--libavcodec/motion_est.c3
1 files changed, 1 insertions, 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;