mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-12 04:44:25 +00:00
cosmetics, braces/parenthesis style
Originally committed as revision 9927 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c78ed54266
commit
5fcf2df323
@ -302,7 +302,7 @@ static int swf_write_header(AVFormatContext *s)
|
||||
swf->samples_per_frame = (44100. * rate_base) / rate;
|
||||
} else {
|
||||
swf->audio_type = audio_enc->codec_id;
|
||||
swf->samples_per_frame = ( ( audio_enc->sample_rate ) * rate_base ) / rate;
|
||||
swf->samples_per_frame = (audio_enc->sample_rate * rate_base) / rate;
|
||||
}
|
||||
|
||||
put_tag(pb, "FWS");
|
||||
@ -636,8 +636,7 @@ static int swf_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||
|
||||
tag = get_be32(pb) & 0xffffff00;
|
||||
|
||||
if (tag == MKBETAG('C', 'W', 'S', 0))
|
||||
{
|
||||
if (tag == MKBETAG('C', 'W', 'S', 0)) {
|
||||
av_log(s, AV_LOG_ERROR, "Compressed SWF format not supported\n");
|
||||
return AVERROR(EIO);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user