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
a49154e9
Commit
a49154e9
authored
Jun 21, 2015
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/brstm: support little-endian s16 PCM
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
0f673519
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
brstm.c
libavformat/brstm.c
+3
-1
No files found.
libavformat/brstm.c
View file @
a49154e9
...
...
@@ -184,7 +184,9 @@ static int read_header(AVFormatContext *s)
switch
(
codec
)
{
case
0
:
codec
=
AV_CODEC_ID_PCM_S8_PLANAR
;
break
;
case
1
:
codec
=
AV_CODEC_ID_PCM_S16BE_PLANAR
;
break
;
case
1
:
codec
=
b
->
little_endian
?
AV_CODEC_ID_PCM_S16LE_PLANAR
:
AV_CODEC_ID_PCM_S16BE_PLANAR
;
break
;
case
2
:
codec
=
b
->
little_endian
?
AV_CODEC_ID_ADPCM_THP_LE
:
AV_CODEC_ID_ADPCM_THP
;
break
;
...
...
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