In mov muxer, write reduced sample aspect ratio values in pasp

Originally committed as revision 25082 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2010-09-08 20:22:02 +00:00
parent 0e7d436d92
commit 6bd296f1e4

View File

@ -755,8 +755,8 @@ static int mov_write_pasp_tag(ByteIOContext *pb, MOVTrack *track)
put_be32(pb, 16); put_be32(pb, 16);
put_tag(pb, "pasp"); put_tag(pb, "pasp");
put_be32(pb, track->enc->sample_aspect_ratio.num); put_be32(pb, sar.num);
put_be32(pb, track->enc->sample_aspect_ratio.den); put_be32(pb, sar.den);
return 16; return 16;
} }