fix dnxhd 720p in mov for quicktime player

Originally committed as revision 11154 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2007-12-03 10:44:25 +00:00
parent a57c41b2c5
commit 44fb8ebb62

View File

@ -553,7 +553,10 @@ static int mov_write_avid_tag(ByteIOContext *pb, MOVTrack *track)
put_be32(pb, track->enc->height);
put_be32(pb, 1); /* unknown */
put_be32(pb, 0); /* unknown */
put_be32(pb, 5); /* unknown */
if (track->enc->height == 1080)
put_be32(pb, 5); /* unknown */
else
put_be32(pb, 6); /* unknown */
}
/* padding */
for (i = 0; i < 10; i++)