[FFmpeg-cvslog] reindent after tapt patch

Maksym Veremeyenko git
Sat Feb 26 04:51:54 CET 2011


ffmpeg | branch: master | Maksym Veremeyenko <verem at m1stereo.tv> | Fri Feb 25 17:42:56 2011 +0200| [eea040212cd2b581e11d0b830f086359b4363203] | committer: Michael Niedermayer

reindent after tapt patch

Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
(cherry picked from commit 77d207cbe64710b7b34865f347e608b9c0e15968)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eea040212cd2b581e11d0b830f086359b4363203
---

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

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 376555d..59c579a 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1220,11 +1220,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 {




More information about the ffmpeg-cvslog mailing list