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
c279c44a
Commit
c279c44a
authored
Feb 01, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/msf: support codec 1, which is 16 bit pcm le
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
c61b28e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
msf.c
libavformat/msf.c
+1
-0
No files found.
libavformat/msf.c
View file @
c279c44a
...
...
@@ -64,6 +64,7 @@ static int msf_read_header(AVFormatContext *s)
// avio_rb32(s->pb); /* byte flags with encoder info */
switch
(
codec
)
{
case
0
:
st
->
codecpar
->
codec_id
=
AV_CODEC_ID_PCM_S16BE
;
break
;
case
1
:
st
->
codecpar
->
codec_id
=
AV_CODEC_ID_PCM_S16LE
;
break
;
case
3
:
st
->
codecpar
->
block_align
=
16
*
st
->
codecpar
->
channels
;
st
->
codecpar
->
codec_id
=
AV_CODEC_ID_ADPCM_PSX
;
break
;
case
4
:
...
...
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