diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-09-08 20:22:02 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-09-08 20:22:02 +0000 |
commit | 6bd296f1e40e0be5e35a1e954abdffd356987a80 (patch) | |
tree | f1bde8dd76d8d735aacfc62297519a123f8e8485 | |
parent | 0e7d436d924a42ef6e8ab628a1f10d72801d1395 (diff) | |
download | ffmpeg-streaming-6bd296f1e40e0be5e35a1e954abdffd356987a80.zip ffmpeg-streaming-6bd296f1e40e0be5e35a1e954abdffd356987a80.tar.gz |
In mov muxer, write reduced sample aspect ratio values in pasp
Originally committed as revision 25082 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/movenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 5b3e4f5..7961d44 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -755,8 +755,8 @@ static int mov_write_pasp_tag(ByteIOContext *pb, MOVTrack *track) put_be32(pb, 16); put_tag(pb, "pasp"); - put_be32(pb, track->enc->sample_aspect_ratio.num); - put_be32(pb, track->enc->sample_aspect_ratio.den); + put_be32(pb, sar.num); + put_be32(pb, sar.den); return 16; } |