mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
mjpeg: cosmetics: indentation
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
39ef000e19
commit
591c0c26b5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user