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
3694ac24
Commit
3694ac24
authored
Dec 02, 2010
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpc: read id3v1 tags.
Originally committed as revision 25860 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1761272b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mpc.c
libavformat/mpc.c
+3
-0
No files found.
libavformat/mpc.c
View file @
3694ac24
...
...
@@ -22,6 +22,7 @@
#include "libavcodec/get_bits.h"
#include "avformat.h"
#include "apetag.h"
#include "id3v1.h"
#define MPC_FRAMESIZE 1152
#define DELAY_FRAMES 32
...
...
@@ -95,6 +96,8 @@ static int mpc_read_header(AVFormatContext *s, AVFormatParameters *ap)
if
(
!
url_is_streamed
(
s
->
pb
))
{
int64_t
pos
=
url_ftell
(
s
->
pb
);
ff_ape_parse_tag
(
s
);
if
(
!
av_metadata_get
(
s
->
metadata
,
""
,
NULL
,
AV_METADATA_IGNORE_SUFFIX
))
ff_id3v1_read
(
s
);
url_fseek
(
s
->
pb
,
pos
,
SEEK_SET
);
}
...
...
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