[Xvid-devel] [PATCH] squelch gcc misleading indentation warnings
Peter Ross
pross at xvid.org
Thu Jan 17 12:26:13 CET 2019
Patch:
Subject: [PATCH] squelch gcc misleading indentation warnings
Replace spaces with tabs to prevent this warning. Regrettably, the
whole file uses a mixture of tab and space identation.
---
src/image/image.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/image/image.c b/src/image/image.c
index 4459b1c..77a1b8b 100644
--- a/src/image/image.c
+++ b/src/image/image.c
@@ -415,10 +415,10 @@ safe_packed_conv(uint8_t * x_ptr, int x_stride,
/* packed conversions require height to be divisable by 2
(or even by 4 for interlaced conversion) */
- if (interlacing)
- height_opt = height & (~3);
- else
- height_opt = height & (~1);
+ if (interlacing)
+ height_opt = height & (~3);
+ else
+ height_opt = height & (~1);
func_opt(x_ptr, x_stride,
y_ptr, u_ptr, v_ptr, y_stride, uv_stride,
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
More information about the Xvid-devel
mailing list