summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-09-03 14:23:32 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-09-03 14:23:32 +0200
commita6a453ccd1cd1f6c9fa5819906496736d43eabf0 (patch)
tree0df8f5df66a4180201932e245bf237ec65f61d5f
parente82b181f8096d20a163b054b8117838437d6b694 (diff)
downloadffmpeg-streaming-a6a453ccd1cd1f6c9fa5819906496736d43eabf0.zip
ffmpeg-streaming-a6a453ccd1cd1f6c9fa5819906496736d43eabf0.tar.gz
Cosmetics: Reindent after e82b181f.
-rw-r--r--libavcodec/mjpegdec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 84d929a..742e07c 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -1692,14 +1692,14 @@ static int mjpeg_decode_app(MJpegDecodeContext *s)
len -= 8;
if (len >= 2) {
- t_w = get_bits(&s->gb, 8);
- t_h = get_bits(&s->gb, 8);
- if (t_w && t_h) {
- /* skip thumbnail */
- if (len -10 - (t_w * t_h * 3) > 0)
- len -= t_w * t_h * 3;
- }
- len -= 2;
+ t_w = get_bits(&s->gb, 8);
+ t_h = get_bits(&s->gb, 8);
+ if (t_w && t_h) {
+ /* skip thumbnail */
+ if (len -10 - (t_w * t_h * 3) > 0)
+ len -= t_w * t_h * 3;
+ }
+ len -= 2;
}
goto out;
}
OpenPOWER on IntegriCloud