From aa3a4973a30ff668a62447e18ac41f6c916b4a8b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 6 Nov 2020 12:30:59 +1100 Subject: Cleanup: use ELEM macro --- source/blender/io/avi/intern/avi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/io/avi') diff --git a/source/blender/io/avi/intern/avi.c b/source/blender/io/avi/intern/avi.c index 0ab51b7a084..88f2e1a259f 100644 --- a/source/blender/io/avi/intern/avi.c +++ b/source/blender/io/avi/intern/avi.c @@ -148,7 +148,7 @@ static bool fcc_is_data(int fcc) if (!isdigit(fccs[0]) || !isdigit(fccs[1]) || (fccs[2] != 'd' && fccs[2] != 'w')) { return 0; } - if (fccs[3] != 'b' && fccs[3] != 'c') { + if (!ELEM(fccs[3], 'b', 'c')) { return 0; } -- cgit v1.2.3