Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
591c0c26
Commit
591c0c26
authored
Apr 17, 2014
by
Justin Ruggles
Committed by
Derek Buitenhuis
Apr 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mjpeg: cosmetics: indentation
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
39ef000e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
mjpegdec.c
libavcodec/mjpegdec.c
+7
-7
No files found.
libavcodec/mjpegdec.c
View file @
591c0c26
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment