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-20 03:24:22 +0100
commit1586fda2fc5228a526388f4a98a890c15ce78608 (patch)
treea5acb137008b382839ed3a3d0c46d408aa206a99
parent34b9c7612d1a8c48590f54d38d042de7a3082d9a (diff)
downloadffmpeg-1586fda2fc5228a526388f4a98a890c15ce78608.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 7cc32547ff..670bfb9291 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;
}