aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-14 18:56:13 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-17 21:32:17 +0100
commite4a6a8553ed800601298b0cca76ce1d674ec9fa5 (patch)
tree5fc72368c75213f981056380ba8b2dcf0c0bf0b6
parent748d5fa2edfe93e6e584853883402f64a831c23f (diff)
downloadffmpeg-e4a6a8553ed800601298b0cca76ce1d674ec9fa5.tar.gz
avfilter/vf_mpdecimate: Add missing emms_c()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 997de2e8107cc4256e50611463d609b18fe9619f) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-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;
}