[PATCH 2/3] reindent after tapt patch

Maksym Veremeyenko verem
Tue Feb 15 11:49:17 CET 2011


---
 libavformat/movenc.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index e1dabe3..80af07b 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1219,11 +1219,11 @@ static int mov_write_tkhd_tag(ByteIOContext *pb, MOVTrack *track, AVStream *st)
             put_be32(pb, track->enc->width << 16);
             put_be32(pb, track->enc->height << 16);
         } else {
-        double sample_aspect_ratio = av_q2d(st->sample_aspect_ratio);
-        if(!sample_aspect_ratio || track->height != track->enc->height)
-            sample_aspect_ratio = 1;
-        put_be32(pb, sample_aspect_ratio * track->enc->width*0x10000);
-        put_be32(pb, track->height*0x10000);
+            double sample_aspect_ratio = av_q2d(st->sample_aspect_ratio);
+            if(!sample_aspect_ratio || track->height != track->enc->height)
+                sample_aspect_ratio = 1;
+            put_be32(pb, sample_aspect_ratio * track->enc->width*0x10000);
+            put_be32(pb, track->height*0x10000);
         }
     }
     else {
-- 
1.7.4


--------------070807080307080004050104
Content-Type: text/x-patch;
 name="0003-store-pasp-atom-for-all-types-of-quicktime-movie.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="0003-store-pasp-atom-for-all-types-of-quicktime-movie.patch"




More information about the ffmpeg-devel mailing list