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
056f6179
Commit
056f6179
authored
Apr 10, 2005
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/u_char/uint8_t/
Originally committed as revision 4121 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2d2f443d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
oggparsevorbis.c
libavformat/oggparsevorbis.c
+2
-2
No files found.
libavformat/oggparsevorbis.c
View file @
056f6179
...
...
@@ -133,7 +133,7 @@ vorbis_header (AVFormatContext * s, int idx)
ogg_stream_t
*
os
=
ogg
->
streams
+
idx
;
AVStream
*
st
=
s
->
streams
[
idx
];
int
cds
=
st
->
codec
.
extradata_size
+
os
->
psize
+
2
;
u
_char
*
cdp
;
u
int8_t
*
cdp
;
if
(
os
->
seq
>
2
)
return
0
;
...
...
@@ -146,7 +146,7 @@ vorbis_header (AVFormatContext * s, int idx)
st
->
codec
.
extradata_size
=
cds
;
if
(
os
->
buf
[
os
->
pstart
]
==
1
)
{
u
_char
*
p
=
os
->
buf
+
os
->
pstart
+
11
;
//skip up to the audio channels
u
int8_t
*
p
=
os
->
buf
+
os
->
pstart
+
11
;
//skip up to the audio channels
st
->
codec
.
channels
=
*
p
++
;
st
->
codec
.
sample_rate
=
le2me_32
(
unaligned32
(
p
));
p
+=
8
;
//skip maximum and and nominal bitrate
...
...
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