diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-14 18:56:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-20 03:24:22 +0100 |
commit | 1586fda2fc5228a526388f4a98a890c15ce78608 (patch) | |
tree | a5acb137008b382839ed3a3d0c46d408aa206a99 | |
parent | 34b9c7612d1a8c48590f54d38d042de7a3082d9a (diff) | |
download | ffmpeg-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.c | 5 |
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; } |