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
7e8be708
Commit
7e8be708
authored
Feb 27, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mjpegdec: Print human readable string for APPx
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
3ba05601
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mjpegdec.c
libavcodec/mjpegdec.c
+5
-2
No files found.
libavcodec/mjpegdec.c
View file @
7e8be708
...
...
@@ -1455,8 +1455,11 @@ static int mjpeg_decode_app(MJpegDecodeContext *s)
id
=
get_bits_long
(
&
s
->
gb
,
32
);
len
-=
6
;
if
(
s
->
avctx
->
debug
&
FF_DEBUG_STARTCODE
)
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"APPx %8X len=%d
\n
"
,
id
,
len
);
if
(
s
->
avctx
->
debug
&
FF_DEBUG_STARTCODE
)
{
char
id_str
[
32
];
av_get_codec_tag_string
(
id_str
,
sizeof
(
id_str
),
av_bswap32
(
id
));
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"APPx (%s / %8X) len=%d
\n
"
,
id_str
,
id
,
len
);
}
/* Buggy AVID, it puts EOI only at every 10th frame. */
/* Also, this fourcc is used by non-avid files too, it holds some
...
...
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