aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-09-08 20:22:02 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-09-08 20:22:02 +0000
commit6bd296f1e40e0be5e35a1e954abdffd356987a80 (patch)
treef1bde8dd76d8d735aacfc62297519a123f8e8485 /libavformat
parent0e7d436d924a42ef6e8ab628a1f10d72801d1395 (diff)
downloadffmpeg-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
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/movenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 5b3e4f5250..7961d44512 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;
}