1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avfilter/vf_mpdecimate: Remove emms_c

Unnecessary now that the pixelutils API abides by the ABI.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2023-11-01 10:09:51 +01:00
parent 5b85ca5317
commit 392ab35db1

View File

@ -24,7 +24,6 @@
* Rich Felker. * Rich Felker.
*/ */
#include "libavutil/emms.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "libavutil/pixelutils.h" #include "libavutil/pixelutils.h"
@ -142,13 +141,10 @@ static int decimate_frame(AVFilterContext *ctx,
cur->data[plane], cur->linesize[plane], cur->data[plane], cur->linesize[plane],
ref->data[plane], ref->linesize[plane], ref->data[plane], ref->linesize[plane],
AV_CEIL_RSHIFT(ref->width, hsub), AV_CEIL_RSHIFT(ref->width, hsub),
AV_CEIL_RSHIFT(ref->height, vsub))) { AV_CEIL_RSHIFT(ref->height, vsub)))
emms_c();
return 0; return 0;
}
} }
emms_c();
return 1; return 1;
} }