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
8ac3868f
Commit
8ac3868f
authored
Jun 30, 2012
by
Matthieu Bouron
Committed by
Michael Niedermayer
Jul 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/aiffdec: handle ID3 chunk
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
87b98689
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
aiffdec.c
libavformat/aiffdec.c
+6
-0
No files found.
libavformat/aiffdec.c
View file @
8ac3868f
...
...
@@ -26,6 +26,7 @@
#include "pcm.h"
#include "aiff.h"
#include "isom.h"
#include "id3v2.h"
#define AIFF 0
#define AIFF_C_VERSION1 0xA2805140
...
...
@@ -195,6 +196,7 @@ static int aiff_read_header(AVFormatContext *s)
AVIOContext
*
pb
=
s
->
pb
;
AVStream
*
st
;
AIFFInputContext
*
aiff
=
s
->
priv_data
;
ID3v2ExtraMeta
*
id3v2_extra_meta
=
NULL
;
/* check FORM header */
filesize
=
get_tag
(
pb
,
&
tag
);
...
...
@@ -231,6 +233,10 @@ static int aiff_read_header(AVFormatContext *s)
if
(
offset
>
0
)
// COMM is after SSND
goto
got_sound
;
break
;
case
MKTAG
(
'I'
,
'D'
,
'3'
,
' '
):
ff_id3v2_read
(
s
,
ID3v2_DEFAULT_MAGIC
,
&
id3v2_extra_meta
);
ff_id3v2_free_extra_meta
(
&
id3v2_extra_meta
);
break
;
case
MKTAG
(
'F'
,
'V'
,
'E'
,
'R'
):
/* Version chunk */
version
=
avio_rb32
(
pb
);
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