diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-02-26 14:42:07 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-02-26 14:42:07 +0000 |
commit | 60f5c96ee6634b674e851d59d4749095b1d4e4c3 (patch) | |
tree | 02ddf1a983e434d2f9266499f9222aa29d3e6f0c | |
parent | 18978a491818bba9ffaa616bc6fa370e8acdcba7 (diff) | |
download | ffmpeg-60f5c96ee6634b674e851d59d4749095b1d4e4c3.tar.gz |
remove useless braces
Originally committed as revision 12232 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mov.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 067b4c75dd..e0bb8d2948 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) { |