mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
merge #if with if()
Originally committed as revision 25233 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2a5db1aa58
commit
236f79480b
@ -294,10 +294,8 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
|
|||||||
if (args) sscanf(args, "%d:%d", &yadif->mode, &yadif->parity);
|
if (args) sscanf(args, "%d:%d", &yadif->mode, &yadif->parity);
|
||||||
|
|
||||||
yadif->filter_line = filter_line_c;
|
yadif->filter_line = filter_line_c;
|
||||||
#if HAVE_MMX
|
if (HAVE_MMX && cpu_flags & AV_CPU_FLAG_MMX)
|
||||||
if (cpu_flags & AV_CPU_FLAG_MMX)
|
|
||||||
yadif->filter_line = ff_yadif_filter_line_mmx;
|
yadif->filter_line = ff_yadif_filter_line_mmx;
|
||||||
#endif
|
|
||||||
|
|
||||||
av_log(ctx, AV_LOG_INFO, "mode:%d parity:%d\n", yadif->mode, yadif->parity);
|
av_log(ctx, AV_LOG_INFO, "mode:%d parity:%d\n", yadif->mode, yadif->parity);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user