[FFmpeg-cvslog] r21311 - trunk/libavformat/mov.c

bcoudurier subversion
Tue Jan 19 00:58:11 CET 2010


Author: bcoudurier
Date: Tue Jan 19 00:58:10 2010
New Revision: 21311

Log:
reindent

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	Tue Jan 19 00:56:04 2010	(r21310)
+++ trunk/libavformat/mov.c	Tue Jan 19 00:58:10 2010	(r21311)
@@ -1654,12 +1654,12 @@ static int mov_read_trak(MOVContext *c, 
 
     if (st->codec->codec_type == CODEC_TYPE_VIDEO) {
         if (st->codec->width != sc->width || st->codec->height != sc->height) {
-        AVRational r = av_d2q(((double)st->codec->height * sc->width) /
-                              ((double)st->codec->width * sc->height), INT_MAX);
-        if (st->sample_aspect_ratio.num)
-            st->sample_aspect_ratio = av_mul_q(st->sample_aspect_ratio, r);
-        else
-            st->sample_aspect_ratio = r;
+            AVRational r = av_d2q(((double)st->codec->height * sc->width) /
+                                  ((double)st->codec->width * sc->height), INT_MAX);
+            if (st->sample_aspect_ratio.num)
+                st->sample_aspect_ratio = av_mul_q(st->sample_aspect_ratio, r);
+            else
+                st->sample_aspect_ratio = r;
         }
 
         av_reduce(&st->avg_frame_rate.num, &st->avg_frame_rate.den,



More information about the ffmpeg-cvslog mailing list