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

bcoudurier subversion
Tue Feb 26 15:42:07 CET 2008


Author: bcoudurier
Date: Tue Feb 26 15:42:07 2008
New Revision: 12232

Log:
remove useless braces

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Tue Feb 26 15:42:07 2008
@@ -799,9 +799,8 @@ static int mov_read_stsd(MOVContext *c, 
             url_fskip(pb, a.size);
     }
 
-    if(st->codec->codec_type==CODEC_TYPE_AUDIO && st->codec->sample_rate==0 && sc->time_scale>1) {
+    if(st->codec->codec_type==CODEC_TYPE_AUDIO && st->codec->sample_rate==0 && sc->time_scale>1)
         st->codec->sample_rate= sc->time_scale;
-    }
 
     /* special codec parameters handling */
     switch (st->codec->codec_id) {




More information about the ffmpeg-cvslog mailing list