You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
wvenc: support for ape tags
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user