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
929dd8c1
Commit
929dd8c1
authored
Jan 19, 2012
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxa: set audio stream time base using the sample rate
parent
aa831c40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dxa.c
libavformat/dxa.c
+2
-0
No files found.
libavformat/dxa.c
View file @
929dd8c1
...
...
@@ -107,6 +107,8 @@ static int dxa_read_header(AVFormatContext *s)
ret
=
ff_get_wav_header
(
pb
,
ast
->
codec
,
fsize
);
if
(
ret
<
0
)
return
ret
;
if
(
ast
->
codec
->
sample_rate
>
0
)
avpriv_set_pts_info
(
ast
,
64
,
1
,
ast
->
codec
->
sample_rate
);
// find 'data' chunk
while
(
avio_tell
(
pb
)
<
c
->
vidpos
&&
!
pb
->
eof_reached
){
tag
=
avio_rl32
(
pb
);
...
...
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