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
a0ce2d1b
Commit
a0ce2d1b
authored
Oct 01, 2008
by
David Conrad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics: indentation
Originally committed as revision 15501 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
277e3e53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
vp3.c
libavcodec/vp3.c
+2
-2
oggparsetheora.c
libavformat/oggparsetheora.c
+5
-5
No files found.
libavcodec/vp3.c
View file @
a0ce2d1b
...
@@ -2097,8 +2097,8 @@ static int theora_decode_header(AVCodecContext *avctx, GetBitContext *gb)
...
@@ -2097,8 +2097,8 @@ static int theora_decode_header(AVCodecContext *avctx, GetBitContext *gb)
}
}
if
(
s
->
theora
>=
0x030200
)
{
if
(
s
->
theora
>=
0x030200
)
{
visible_width
=
get_bits_long
(
gb
,
24
);
visible_width
=
get_bits_long
(
gb
,
24
);
visible_height
=
get_bits_long
(
gb
,
24
);
visible_height
=
get_bits_long
(
gb
,
24
);
skip_bits
(
gb
,
8
);
/* offset x */
skip_bits
(
gb
,
8
);
/* offset x */
skip_bits
(
gb
,
8
);
/* offset y */
skip_bits
(
gb
,
8
);
/* offset y */
...
...
libavformat/oggparsetheora.c
View file @
a0ce2d1b
...
@@ -76,11 +76,11 @@ theora_header (AVFormatContext * s, int idx)
...
@@ -76,11 +76,11 @@ theora_header (AVFormatContext * s, int idx)
skip_bits
(
&
gb
,
100
);
skip_bits
(
&
gb
,
100
);
if
(
version
>=
0x030200
)
{
if
(
version
>=
0x030200
)
{
width
=
get_bits_long
(
&
gb
,
24
);
width
=
get_bits_long
(
&
gb
,
24
);
height
=
get_bits_long
(
&
gb
,
24
);
height
=
get_bits_long
(
&
gb
,
24
);
if
(
width
<=
st
->
codec
->
width
&&
width
>
st
->
codec
->
width
-
16
if
(
width
<=
st
->
codec
->
width
&&
width
>
st
->
codec
->
width
-
16
&&
height
<=
st
->
codec
->
height
&&
height
>
st
->
codec
->
height
-
16
)
&&
height
<=
st
->
codec
->
height
&&
height
>
st
->
codec
->
height
-
16
)
avcodec_set_dimensions
(
st
->
codec
,
width
,
height
);
avcodec_set_dimensions
(
st
->
codec
,
width
,
height
);
skip_bits
(
&
gb
,
16
);
skip_bits
(
&
gb
,
16
);
}
}
...
...
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