Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
cfb1c3c9
Commit
cfb1c3c9
authored
Oct 25, 2012
by
Matthieu Bouron
Committed by
Michael Niedermayer
Oct 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aiffdec: read ID3 attached pictures
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
73f9d2e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
aiffdec.c
libavformat/aiffdec.c
+6
-1
No files found.
libavformat/aiffdec.c
View file @
cfb1c3c9
...
...
@@ -191,7 +191,7 @@ static int aiff_probe(AVProbeData *p)
/* aiff input */
static
int
aiff_read_header
(
AVFormatContext
*
s
)
{
int
size
,
filesize
;
int
ret
,
size
,
filesize
;
int64_t
offset
=
0
;
uint32_t
tag
;
unsigned
version
=
AIFF_C_VERSION1
;
...
...
@@ -237,6 +237,11 @@ static int aiff_read_header(AVFormatContext *s)
break
;
case
MKTAG
(
'I'
,
'D'
,
'3'
,
' '
):
ff_id3v2_read
(
s
,
ID3v2_DEFAULT_MAGIC
,
&
id3v2_extra_meta
);
if
(
id3v2_extra_meta
)
if
((
ret
=
ff_id3v2_parse_apic
(
s
,
&
id3v2_extra_meta
))
<
0
)
{
ff_id3v2_free_extra_meta
(
&
id3v2_extra_meta
);
return
ret
;
}
ff_id3v2_free_extra_meta
(
&
id3v2_extra_meta
);
break
;
case
MKTAG
(
'F'
,
'V'
,
'E'
,
'R'
):
/* Version chunk */
...
...
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