Commit c25dc1f9 authored by Paul B Mahol's avatar Paul B Mahol

wvenc: support for ape tags

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent bd93f965
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment