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
51c1e255
Commit
51c1e255
authored
Apr 19, 2011
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oggparsecelt: call av_set_pts_info unconditionally.
Signed-off-by:
Nicolas George
<
nicolas.george@normalesup.org
>
parent
46f83e5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
oggparsecelt.c
libavformat/oggparsecelt.c
+1
-2
No files found.
libavformat/oggparsecelt.c
View file @
51c1e255
...
...
@@ -71,8 +71,7 @@ static int celt_header(AVFormatContext *s, int idx)
st
->
codec
->
sample_fmt
=
AV_SAMPLE_FMT_S16
;
st
->
codec
->
extradata
=
extradata
;
st
->
codec
->
extradata_size
=
2
*
sizeof
(
uint32_t
);
if
(
sample_rate
)
av_set_pts_info
(
st
,
64
,
1
,
sample_rate
);
av_set_pts_info
(
st
,
64
,
1
,
sample_rate
);
priv
->
extra_headers_left
=
1
+
extra_headers
;
os
->
private
=
priv
;
AV_WL32
(
extradata
+
0
,
overlap
);
...
...
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