Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
88f803cf
Commit
88f803cf
authored
Mar 17, 2024
by
Andreas Rheinhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/wvedec: Inline constant
Signed-off-by:
Andreas Rheinhardt
<
andreas.rheinhardt@outlook.com
>
parent
87681885
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wvedec.c
libavformat/wvedec.c
+1
-1
No files found.
libavformat/wvedec.c
View file @
88f803cf
...
...
@@ -45,7 +45,7 @@ static int wve_read_header(AVFormatContext *s)
st
->
codecpar
->
codec_id
=
AV_CODEC_ID_PCM_ALAW
;
st
->
codecpar
->
sample_rate
=
8000
;
st
->
codecpar
->
ch_layout
.
nb_channels
=
1
;
st
->
codecpar
->
bits_per_coded_sample
=
av_get_bits_per_sample
(
st
->
codecpar
->
codec_id
)
;
st
->
codecpar
->
bits_per_coded_sample
=
8
;
st
->
codecpar
->
block_align
=
st
->
codecpar
->
bits_per_coded_sample
*
st
->
codecpar
->
ch_layout
.
nb_channels
/
8
;
avpriv_set_pts_info
(
st
,
64
,
1
,
st
->
codecpar
->
sample_rate
);
...
...
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