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
1d55f8d5
Commit
1d55f8d5
authored
Apr 04, 2014
by
Alessandro Ghedini
Committed by
Anton Khirnov
Apr 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flacdec: export replaygain tags from Vorbis comments
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
8542f9c4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Makefile
libavformat/Makefile
+1
-0
flacdec.c
libavformat/flacdec.c
+5
-0
No files found.
libavformat/Makefile
View file @
1d55f8d5
...
...
@@ -116,6 +116,7 @@ OBJS-$(CONFIG_FILMSTRIP_MUXER) += filmstripenc.o
OBJS-$(CONFIG_FLAC_DEMUXER)
+=
flacdec.o
rawdec.o
\
flac_picture.o
\
oggparsevorbis.o
\
replaygain.o
\
vorbiscomment.o
OBJS-$(CONFIG_FLAC_MUXER)
+=
flacenc.o
flacenc_header.o
\
vorbiscomment.o
...
...
libavformat/flacdec.c
View file @
1d55f8d5
...
...
@@ -26,6 +26,7 @@
#include "rawdec.h"
#include "oggdec.h"
#include "vorbiscomment.h"
#include "replaygain.h"
#include "libavcodec/bytestream.h"
static
int
flac_read_header
(
AVFormatContext
*
s
)
...
...
@@ -146,6 +147,10 @@ static int flac_read_header(AVFormatContext *s)
}
}
ret
=
ff_replaygain_export
(
st
,
s
->
metadata
);
if
(
ret
<
0
)
return
ret
;
return
0
;
}
...
...
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