OSDN Git Service

remove useless braces
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Tue, 26 Feb 2008 14:42:07 +0000 (14:42 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Tue, 26 Feb 2008 14:42:07 +0000 (14:42 +0000)
Originally committed as revision 12232 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mov.c

index 067b4c7..e0bb8d2 100644 (file)
@@ -799,9 +799,8 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
             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) {