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
14f3f3a1
Commit
14f3f3a1
authored
Jan 24, 2007
by
Kostya Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Off-by-one error fix
Originally committed as revision 7694 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
5cca6bc3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vc1.c
libavcodec/vc1.c
+2
-2
No files found.
libavcodec/vc1.c
View file @
14f3f3a1
...
@@ -1283,8 +1283,8 @@ static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
...
@@ -1283,8 +1283,8 @@ static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
if
(
get_bits1
(
gb
))
{
//Display Info - decoding is not affected by it
if
(
get_bits1
(
gb
))
{
//Display Info - decoding is not affected by it
int
w
,
h
,
ar
=
0
;
int
w
,
h
,
ar
=
0
;
av_log
(
v
->
s
.
avctx
,
AV_LOG_INFO
,
"Display extended info:
\n
"
);
av_log
(
v
->
s
.
avctx
,
AV_LOG_INFO
,
"Display extended info:
\n
"
);
w
=
get_bits
(
gb
,
14
);
w
=
get_bits
(
gb
,
14
)
+
1
;
h
=
get_bits
(
gb
,
14
);
h
=
get_bits
(
gb
,
14
)
+
1
;
av_log
(
v
->
s
.
avctx
,
AV_LOG_INFO
,
"Display dimensions: %ix%i
\n
"
,
w
,
h
);
av_log
(
v
->
s
.
avctx
,
AV_LOG_INFO
,
"Display dimensions: %ix%i
\n
"
,
w
,
h
);
//TODO: store aspect ratio in AVCodecContext
//TODO: store aspect ratio in AVCodecContext
if
(
get_bits1
(
gb
))
if
(
get_bits1
(
gb
))
...
...
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