avcodec/hcom: get rid of single line brackets
authorPaul B Mahol <onemda@gmail.com>
Tue, 15 Jan 2019 10:34:11 +0000 (11:34 +0100)
committerPaul B Mahol <onemda@gmail.com>
Tue, 15 Jan 2019 10:34:11 +0000 (11:34 +0100)
libavcodec/hcom.c

index aab1001..8753486 100644 (file)
@@ -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;