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
55121f3f
Commit
55121f3f
authored
Jun 03, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tta: add support for reading ape tags
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
0e84ba74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Makefile
libavformat/Makefile
+1
-1
tta.c
libavformat/tta.c
+5
-0
No files found.
libavformat/Makefile
View file @
55121f3f
...
...
@@ -370,7 +370,7 @@ OBJS-$(CONFIG_MKVTIMESTAMP_V2_MUXER) += mkvtimestamp_v2.o
OBJS-$(CONFIG_TMV_DEMUXER)
+=
tmv.o
OBJS-$(CONFIG_TRUEHD_DEMUXER)
+=
rawdec.o
OBJS-$(CONFIG_TRUEHD_MUXER)
+=
rawenc.o
OBJS-$(CONFIG_TTA_DEMUXER)
+=
tta.o
OBJS-$(CONFIG_TTA_DEMUXER)
+=
tta.o
apetag.o
OBJS-$(CONFIG_TTY_DEMUXER)
+=
tty.o
sauce.o
OBJS-$(CONFIG_TXD_DEMUXER)
+=
txd.o
OBJS-$(CONFIG_VC1_DEMUXER)
+=
rawdec.o
...
...
libavformat/tta.c
View file @
55121f3f
...
...
@@ -20,6 +20,7 @@
*/
#include "libavcodec/get_bits.h"
#include "apetag.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
...
...
@@ -58,6 +59,10 @@ static int tta_read_header(AVFormatContext *s)
uint64_t
framepos
,
start_offset
;
uint32_t
datalen
,
crc
;
if
(
s
->
pb
->
seekable
)
{
ff_ape_parse_tag
(
s
);
avio_seek
(
s
->
pb
,
0
,
SEEK_SET
);
}
if
(
!
av_dict_get
(
s
->
metadata
,
""
,
NULL
,
AV_DICT_IGNORE_SUFFIX
))
ff_id3v1_read
(
s
);
...
...
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