aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-01-15 11:34:11 +0100
committerPaul B Mahol <onemda@gmail.com>2019-01-15 11:34:11 +0100
commit95a27a8846ce02903c1c4554b090ccbc783adc89 (patch)
treed7f4f9418f98d3ebad480d063f8c2c4c0f5a1f82
parent268d1466498b0f404719b21f3b78802820b6881b (diff)
downloadffmpeg-95a27a8846ce02903c1c4554b090ccbc783adc89.tar.gz
avcodec/hcom: get rid of single line brackets
-rw-r--r--libavcodec/hcom.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/hcom.c b/libavcodec/hcom.c
index aab1001dd2..8753486c02 100644
--- a/libavcodec/hcom.c
+++ b/libavcodec/hcom.c
@@ -90,11 +90,10 @@ static int hcom_decode(AVCodecContext *avctx, void *data,
return ret;
while (get_bits_left(&gb) > 0) {
- if (get_bits1(&gb)) {
+ if (get_bits1(&gb))
s->dict_entry = s->dict[s->dict_entry].r;
- } else {
+ else
s->dict_entry = s->dict[s->dict_entry].l;
- }
if (s->dict[s->dict_entry].l < 0) {
int16_t datum;