summaryrefslogtreecommitdiff
path: root/libavfilter/vf_mpdecimate.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-14 18:56:13 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-14 20:21:50 +0100
commit997de2e8107cc4256e50611463d609b18fe9619f (patch)
treedc386e70b313f7a826ee03d21c926d9d4f3d8f7e /libavfilter/vf_mpdecimate.c
parentade31b9424f6bb8f70f277b1acb4575d312ed955 (diff)
avfilter/vf_mpdecimate: Add missing emms_c()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/vf_mpdecimate.c')
-rw-r--r--libavfilter/vf_mpdecimate.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c
index 25efacfeeb..20b15a20f0 100644
--- a/libavfilter/vf_mpdecimate.c
+++ b/libavfilter/vf_mpdecimate.c
@@ -131,10 +131,13 @@ static int decimate_frame(AVFilterContext *ctx,
cur->data[plane], cur->linesize[plane],
ref->data[plane], ref->linesize[plane],
FF_CEIL_RSHIFT(ref->width, hsub),
- FF_CEIL_RSHIFT(ref->height, vsub)))
+ FF_CEIL_RSHIFT(ref->height, vsub))) {
+ emms_c();
return 0;
+ }
}
+ emms_c();
return 1;
}