[FFmpeg-cvslog] mjpeg: cosmetics: indentation
Justin Ruggles
git at videolan.org
Fri Apr 18 18:41:49 CEST 2014
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Apr 17 18:10:25 2014 -0400| [591c0c26b5986cacfc74ab58347f7ac4a8d841ed] | committer: Derek Buitenhuis
mjpeg: cosmetics: indentation
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=591c0c26b5986cacfc74ab58347f7ac4a8d841ed
---
libavcodec/mjpegdec.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 722d1bc..dfe75bf 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);
More information about the ffmpeg-cvslog
mailing list