aboutsummaryrefslogtreecommitdiffstats
path: root/utils/common/v4l-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/common/v4l-stream.c')
-rw-r--r--utils/common/v4l-stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/common/v4l-stream.c b/utils/common/v4l-stream.c
index c2f2abce..44ee137e 100644
--- a/utils/common/v4l-stream.c
+++ b/utils/common/v4l-stream.c
@@ -88,7 +88,8 @@ void rle_decompress(__u8 *b, unsigned size, unsigned rle_size, unsigned bpl)
i += 4;
next_line = dst + bpl / 4;
continue;
- } else if (v == magic_x) {
+ }
+ if (v == magic_x) {
v = *++p;
n = ntohl(*++p);
i += 8;

Privacy Policy