mirror of https://git.ffmpeg.org/ffmpeg.git
remove useless braces
Originally committed as revision 12232 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
18978a4918
commit
60f5c96ee6
|
@ -799,9 +799,8 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
|
||||||
url_fskip(pb, a.size);
|
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;
|
st->codec->sample_rate= sc->time_scale;
|
||||||
}
|
|
||||||
|
|
||||||
/* special codec parameters handling */
|
/* special codec parameters handling */
|
||||||
switch (st->codec->codec_id) {
|
switch (st->codec->codec_id) {
|
||||||
|
|
Loading…
Reference in New Issue