[FFmpeg-cvslog] wvenc: support for ape tags
Paul B Mahol
git at videolan.org
Sun Jul 29 04:11:01 CEST 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Jul 27 09:42:46 2012 +0000| [c25dc1f9c75848573658ec5291c341f5407eb223] | committer: Paul B Mahol
wvenc: support for ape tags
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c25dc1f9c75848573658ec5291c341f5407eb223
---
libavformat/wvenc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/wvenc.c b/libavformat/wvenc.c
index 7709a2e..0f9bbf2 100644
--- a/libavformat/wvenc.c
+++ b/libavformat/wvenc.c
@@ -22,6 +22,7 @@
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"
+#include "apetag.h"
typedef struct{
uint32_t duration;
@@ -75,6 +76,8 @@ static int write_trailer(AVFormatContext *s)
WVMuxContext *wc = s->priv_data;
AVIOContext *pb = s->pb;
+ ff_ape_write(s);
+
if (pb->seekable) {
avio_seek(pb, 12, SEEK_SET);
avio_wl32(pb, wc->duration);
More information about the ffmpeg-cvslog
mailing list