[FFmpeg-cvslog] avcodec/hcom: get rid of single line brackets
Paul B Mahol
git at videolan.org
Tue Jan 15 12:37:37 EET 2019
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 15 11:34:11 2019 +0100| [95a27a8846ce02903c1c4554b090ccbc783adc89] | committer: Paul B Mahol
avcodec/hcom: get rid of single line brackets
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=95a27a8846ce02903c1c4554b090ccbc783adc89
---
libavcodec/hcom.c | 5 ++---
1 file 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;
More information about the ffmpeg-cvslog
mailing list