app-admin/awscli: Bump to 1.37.9
[gentoo/gentoo.git] / media-libs / aribb24 / files / aribb24-1.0.3-add-missing-curly-braces.patch
blob97092a26ffcc69c0005453874564037d304f87af
1 From ad161e98700b31e262db3f9ac2dd4e9761602faa Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= <jeebjp@gmail.com>
3 Date: Sun, 17 Feb 2019 23:13:00 +0200
4 Subject: [PATCH] decoder: add curly braces around a multi-line statement
6 It seems like these are meant to be executed together when correct
7 data is decoded. Right now it would always return one in this
8 default case.
9 ---
10 src/decoder.c | 2 ++
11 1 file changed, 2 insertions(+)
13 diff --git a/src/decoder.c b/src/decoder.c
14 index 2b77f38..69ea351 100644
15 --- a/src/decoder.c
16 +++ b/src/decoder.c
17 @@ -1140,8 +1140,10 @@ static int decoder_handle_time( arib_decoder_t *decoder )
18 break;
19 default:
20 if( i_mode == 1 && c >= 0x40 && c <= 0x7F )
21 + {
22 decoder->i_control_time += c & 0x3f;
23 return 1;
24 + }
25 return 0;
27 if( i_mode == 0 )