[FFmpeg-cvslog] r25082 - trunk/libavformat/movenc.c

bcoudurier subversion
Wed Sep 8 22:22:02 CEST 2010


Author: bcoudurier
Date: Wed Sep  8 22:22:02 2010
New Revision: 25082

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

Modified:
   trunk/libavformat/movenc.c

Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c	Wed Sep  8 22:20:24 2010	(r25081)
+++ trunk/libavformat/movenc.c	Wed Sep  8 22:22:02 2010	(r25082)
@@ -755,8 +755,8 @@ static int mov_write_pasp_tag(ByteIOCont
 
     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;
 }
 



More information about the ffmpeg-cvslog mailing list