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
8f2e438e
Commit
8f2e438e
authored
Apr 23, 2011
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support channel layout when demuxing aif files.
parent
8bb5d1c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Makefile
libavformat/Makefile
+1
-1
aiffdec.c
libavformat/aiffdec.c
+6
-0
No files found.
libavformat/Makefile
View file @
8f2e438e
...
...
@@ -23,7 +23,7 @@ OBJS-$(CONFIG_AC3_DEMUXER) += ac3dec.o rawdec.o
OBJS-$(CONFIG_AC3_MUXER)
+=
rawenc.o
OBJS-$(CONFIG_ADTS_MUXER)
+=
adtsenc.o
OBJS-$(CONFIG_AEA_DEMUXER)
+=
aea.o
pcm.o
OBJS-$(CONFIG_AIFF_DEMUXER)
+=
aiffdec.o
riff.o
pcm.o
OBJS-$(CONFIG_AIFF_DEMUXER)
+=
aiffdec.o
riff.o
pcm.o
caf.o
OBJS-$(CONFIG_AIFF_MUXER)
+=
aiffenc.o
riff.o
OBJS-$(CONFIG_AMR_DEMUXER)
+=
amr.o
OBJS-$(CONFIG_AMR_MUXER)
+=
amr.o
...
...
libavformat/aiffdec.c
View file @
8f2e438e
...
...
@@ -23,6 +23,7 @@
#include "avformat.h"
#include "pcm.h"
#include "aiff.h"
#include "caf.h"
#define AIFF 0
#define AIFF_C_VERSION1 0xA2805140
...
...
@@ -253,6 +254,11 @@ static int aiff_read_header(AVFormatContext *s,
st
->
codec
->
extradata_size
=
size
;
avio_read
(
pb
,
st
->
codec
->
extradata
,
size
);
break
;
case
MKTAG
(
'C'
,
'H'
,
'A'
,
'N'
):
if
(
size
<
12
)
return
AVERROR_INVALIDDATA
;
ff_read_chan_chunk
(
s
,
size
,
st
->
codec
);
break
;
default:
/* Jump */
if
(
size
&
1
)
/* Always even aligned */
size
++
;
...
...
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