[PATCH 2/3] reindent after tapt patch

Maksym Veremeyenko verem
Fri Feb 25 16:42:56 CET 2011


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

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 19c264f..1ad1f5b 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1219,11 +1219,11 @@ static int mov_write_tkhd_tag(AVIOContext *pb, MOVTrack *track, AVStream *st)
             avio_wb32(pb, track->enc->width << 16);
             avio_wb32(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;
-        avio_wb32(pb, sample_aspect_ratio * track->enc->width*0x10000);
-        avio_wb32(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;
+            avio_wb32(pb, sample_aspect_ratio * track->enc->width*0x10000);
+            avio_wb32(pb, track->height*0x10000);
         }
     }
     else {
-- 
1.7.4


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




More information about the ffmpeg-devel mailing list