From 591c0c26b5986cacfc74ab58347f7ac4a8d841ed Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Thu, 17 Apr 2014 18:10:25 -0400 Subject: [PATCH] mjpeg: cosmetics: indentation Signed-off-by: Derek Buitenhuis --- libavcodec/mjpegdec.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 722d1bca46..dfe75bf8ca 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1666,14 +1666,14 @@ static int mjpeg_decode_app(MJpegDecodeContext *s) if (ret) { av_log(s->avctx, AV_LOG_ERROR, "mjpeg: invalid TIFF header in EXIF data\n"); } else { - bytestream2_seek(&gbytes, ifd_offset, SEEK_SET); + bytestream2_seek(&gbytes, ifd_offset, SEEK_SET); - // read 0th IFD and store the metadata - // (return values > 0 indicate the presence of subimage metadata) - ret = avpriv_exif_decode_ifd(s->avctx, &gbytes, le, 0, &s->exif_metadata); - if (ret < 0) { - av_log(s->avctx, AV_LOG_ERROR, "mjpeg: error decoding EXIF data\n"); - } + // read 0th IFD and store the metadata + // (return values > 0 indicate the presence of subimage metadata) + ret = avpriv_exif_decode_ifd(s->avctx, &gbytes, le, 0, &s->exif_metadata); + if (ret < 0) { + av_log(s->avctx, AV_LOG_ERROR, "mjpeg: error decoding EXIF data\n"); + } } bytes_read = bytestream2_tell(&gbytes);