From 802385dbc2c57abd76f6a00e32f3df35e9526c08 Mon Sep 17 00:00:00 2001 From: Aidan Skinner Date: Mon, 21 Apr 2014 14:47:38 +0100 Subject: [PATCH] mov: Write prof section of tapt tag Signed-off-by: Luca Barbato --- libavformat/movenc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index afc73cae63..8b53232ba1 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1527,6 +1527,12 @@ static int mov_write_tapt_tag(AVIOContext *pb, MOVTrack *track) avio_wb32(pb, width << 16); avio_wb32(pb, track->enc->height << 16); + avio_wb32(pb, 20); + ffio_wfourcc(pb, "prof"); + avio_wb32(pb, 0); + avio_wb32(pb, width << 16); + avio_wb32(pb, track->enc->height << 16); + avio_wb32(pb, 20); ffio_wfourcc(pb, "enof"); avio_wb32(pb, 0);