diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2014-04-17 18:10:25 -0400 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2014-04-18 12:41:17 -0400 |
commit | 591c0c26b5986cacfc74ab58347f7ac4a8d841ed (patch) | |
tree | e4338f550d7639008120a574e6291e13e020893d /libavcodec/mjpegdec.c | |
parent | 39ef000e19b556196e829c6eeec46b65a77bc385 (diff) | |
download | ffmpeg-591c0c26b5986cacfc74ab58347f7ac4a8d841ed.tar.gz |
mjpeg: cosmetics: indentation
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/mjpegdec.c')
-rw-r--r-- | libavcodec/mjpegdec.c | 14 |
1 files 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); |