Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
95e3fdb8
Commit
95e3fdb8
authored
Jan 16, 2008
by
Kostya Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pqindex=0 is forbidden
Originally committed as revision 11540 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9ccbc672
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vc1.c
libavcodec/vc1.c
+2
-0
No files found.
libavcodec/vc1.c
View file @
95e3fdb8
...
...
@@ -1065,6 +1065,7 @@ static int vc1_parse_frame_header(VC1Context *v, GetBitContext* gb)
/* Quantizer stuff */
pqindex
=
get_bits
(
gb
,
5
);
if
(
!
pqindex
)
return
-
1
;
if
(
v
->
quantizer_mode
==
QUANT_FRAME_IMPLICIT
)
v
->
pq
=
ff_vc1_pquant_table
[
0
][
pqindex
];
else
...
...
@@ -1301,6 +1302,7 @@ static int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
}
}
pqindex
=
get_bits
(
gb
,
5
);
if
(
!
pqindex
)
return
-
1
;
v
->
pqindex
=
pqindex
;
if
(
v
->
quantizer_mode
==
QUANT_FRAME_IMPLICIT
)
v
->
pq
=
ff_vc1_pquant_table
[
0
][
pqindex
];
...
...
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