aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-14 18:56:13 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-01-15 17:39:04 +0100
commit75e4949ec128ac0cc9e0c4648da27adbbcbebad4 (patch)
treee4f782bfd1128c95c35058ff16fecc5788dd6ceb
parent07b96325311bcc5f79f02a2ff20e6f54b3c4a459 (diff)
downloadffmpeg-75e4949ec128ac0cc9e0c4648da27adbbcbebad4.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 3ed96024c3..94c9e0bd9d 100644
--- a/libavfilter/vf_mpdecimate.c
+++ b/libavfilter/vf_mpdecimate.c
@@ -120,10 +120,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;
}