[SCM] libav/experimental: remove useless braces

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:15:44 UTC 2013


The following commit has been merged in the experimental branch:
commit 60f5c96ee6634b674e851d59d4749095b1d4e4c3
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Tue Feb 26 14:42:07 2008 +0000

    remove useless braces
    
    Originally committed as revision 12232 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 067b4c7..e0bb8d2 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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) {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list