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
be3e807c
Commit
be3e807c
authored
Jul 01, 2016
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oggparseopus: export pre-skip
Bug-Id: 945, along with the following commit
parent
029cf99c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
oggparseopus.c
libavformat/oggparseopus.c
+2
-0
No files found.
libavformat/oggparseopus.c
View file @
be3e807c
...
...
@@ -57,6 +57,8 @@ static int opus_header(AVFormatContext *avf, int idx)
st
->
codecpar
->
channels
=
AV_RL8
(
packet
+
9
);
priv
->
pre_skip
=
AV_RL16
(
packet
+
10
);
st
->
codecpar
->
initial_padding
=
priv
->
pre_skip
;
extradata
=
av_malloc
(
os
->
psize
+
AV_INPUT_BUFFER_PADDING_SIZE
);
if
(
!
extradata
)
return
AVERROR
(
ENOMEM
);
...
...
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