mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
wvenc: support for ape tags
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
bd93f96540
commit
c25dc1f9c7
@ -22,6 +22,7 @@
|
|||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "avio_internal.h"
|
#include "avio_internal.h"
|
||||||
|
#include "apetag.h"
|
||||||
|
|
||||||
typedef struct{
|
typedef struct{
|
||||||
uint32_t duration;
|
uint32_t duration;
|
||||||
@ -75,6 +76,8 @@ static int write_trailer(AVFormatContext *s)
|
|||||||
WVMuxContext *wc = s->priv_data;
|
WVMuxContext *wc = s->priv_data;
|
||||||
AVIOContext *pb = s->pb;
|
AVIOContext *pb = s->pb;
|
||||||
|
|
||||||
|
ff_ape_write(s);
|
||||||
|
|
||||||
if (pb->seekable) {
|
if (pb->seekable) {
|
||||||
avio_seek(pb, 12, SEEK_SET);
|
avio_seek(pb, 12, SEEK_SET);
|
||||||
avio_wl32(pb, wc->duration);
|
avio_wl32(pb, wc->duration);
|
||||||
|
Loading…
Reference in New Issue
Block a user