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
61976727
Commit
61976727
authored
May 02, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/svq3: Print unknown fields at debug level
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
d56245f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
svq3.c
libavcodec/svq3.c
+9
-5
No files found.
libavcodec/svq3.c
View file @
61976727
...
...
@@ -952,6 +952,7 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
if
(
marker_found
)
{
GetBitContext
gb
;
int
frame_size_code
;
int
unk0
,
unk1
,
unk2
,
unk3
,
unk4
;
size
=
AV_RB32
(
&
extradata
[
4
]);
if
(
size
>
extradata_end
-
extradata
-
8
)
{
...
...
@@ -1001,15 +1002,18 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
s
->
thirdpel_flag
=
get_bits1
(
&
gb
);
/* unknown fields */
skip
_bits1
(
&
gb
);
skip
_bits1
(
&
gb
);
skip
_bits1
(
&
gb
);
skip
_bits1
(
&
gb
);
unk0
=
get
_bits1
(
&
gb
);
unk1
=
get
_bits1
(
&
gb
);
unk2
=
get
_bits1
(
&
gb
);
unk3
=
get
_bits1
(
&
gb
);
h
->
low_delay
=
get_bits1
(
&
gb
);
/* unknown field */
skip_bits1
(
&
gb
);
unk4
=
get_bits1
(
&
gb
);
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Unknown fields %d %d %d %d %d
\n
"
,
unk0
,
unk1
,
unk2
,
unk3
,
unk4
);
if
(
skip_1stop_8data_bits
(
&
gb
)
<
0
)
{
ret
=
AVERROR_INVALIDDATA
;
...
...
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