Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Tim Nicholson Michael Niedermayer 13 years ago
parent
commit
8a9b48bfa9
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libavformat/movenc.c

+ 6
- 0
libavformat/movenc.c View File

@@ -1661,6 +1661,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);


Loading…
Cancel
Save