[FFmpeg-cvslog] movenc: Add required 'prof' atom to 'tapt' atom set.

Tim Nicholson git at videolan.org
Mon Oct 29 17:30:51 CET 2012


ffmpeg | branch: master | Tim Nicholson <Tim.Nicholson at bbc.co.uk> | Mon Oct 29 13:56:57 2012 +0000| [8a9b48bfa9156c79ca8a57130ea18465eb717d66] | committer: Michael Niedermayer

movenc: Add required 'prof' atom to 'tapt' atom set.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8a9b48bfa9156c79ca8a57130ea18465eb717d66
---

 libavformat/movenc.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 71037bd..3f8831d 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1662,6 +1662,12 @@ static int mov_write_tapt_tag(AVIOContext *pb, MOVTrack *track)
     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);
     avio_wb32(pb, track->enc->width << 16);



More information about the ffmpeg-cvslog mailing list