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
9c7662ae
Commit
9c7662ae
authored
Oct 30, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/svq3: Use skip_1stop_8data_bits()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
c882b62d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
svq3.c
libavcodec/svq3.c
+4
-4
No files found.
libavcodec/svq3.c
View file @
9c7662ae
...
@@ -838,8 +838,8 @@ static int svq3_decode_slice_header(AVCodecContext *avctx)
...
@@ -838,8 +838,8 @@ static int svq3_decode_slice_header(AVCodecContext *avctx)
skip_bits1
(
&
h
->
gb
);
skip_bits1
(
&
h
->
gb
);
skip_bits
(
&
h
->
gb
,
2
);
skip_bits
(
&
h
->
gb
,
2
);
while
(
get_bits1
(
&
h
->
gb
)
)
if
(
skip_1stop_8data_bits
(
&
h
->
gb
)
<
0
)
skip_bits
(
&
h
->
gb
,
8
)
;
return
AVERROR_INVALIDDATA
;
/* reset intra predictors and invalidate motion vector references */
/* reset intra predictors and invalidate motion vector references */
if
(
h
->
mb_x
>
0
)
{
if
(
h
->
mb_x
>
0
)
{
...
@@ -970,8 +970,8 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
...
@@ -970,8 +970,8 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
/* unknown field */
/* unknown field */
skip_bits1
(
&
gb
);
skip_bits1
(
&
gb
);
while
(
get_bits1
(
&
gb
)
)
if
(
skip_1stop_8data_bits
(
&
gb
)
<
0
)
skip_bits
(
&
gb
,
8
)
;
return
AVERROR_INVALIDDATA
;
s
->
unknown_flag
=
get_bits1
(
&
gb
);
s
->
unknown_flag
=
get_bits1
(
&
gb
);
avctx
->
has_b_frames
=
!
h
->
low_delay
;
avctx
->
has_b_frames
=
!
h
->
low_delay
;
...
...
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