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
369684f1
Commit
369684f1
authored
Jun 07, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tta: unbreak demuxing of files with id3 tags at start of file
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
5bafe0ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tta.c
libavformat/tta.c
+3
-3
No files found.
libavformat/tta.c
View file @
369684f1
...
...
@@ -59,12 +59,12 @@ static int tta_read_header(AVFormatContext *s)
uint64_t
framepos
,
start_offset
;
uint32_t
nb_samples
,
crc
;
ff_id3v1_read
(
s
);
if
(
s
->
pb
->
seekable
)
{
int64_t
pos
=
avio_tell
(
s
->
pb
);
ff_ape_parse_tag
(
s
);
avio_seek
(
s
->
pb
,
0
,
SEEK_SET
);
avio_seek
(
s
->
pb
,
pos
,
SEEK_SET
);
}
if
(
!
av_dict_get
(
s
->
metadata
,
""
,
NULL
,
AV_DICT_IGNORE_SUFFIX
))
ff_id3v1_read
(
s
);
start_offset
=
avio_tell
(
s
->
pb
);
ffio_init_checksum
(
s
->
pb
,
tta_check_crc
,
UINT32_MAX
);
...
...
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