cosmetics, braces/parenthesis style
Originally committed as revision 9927 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -302,7 +302,7 @@ static int swf_write_header(AVFormatContext *s)
|
|||||||
swf->samples_per_frame = (44100. * rate_base) / rate;
|
swf->samples_per_frame = (44100. * rate_base) / rate;
|
||||||
} else {
|
} else {
|
||||||
swf->audio_type = audio_enc->codec_id;
|
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");
|
put_tag(pb, "FWS");
|
||||||
@@ -636,8 +636,7 @@ static int swf_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
|||||||
|
|
||||||
tag = get_be32(pb) & 0xffffff00;
|
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");
|
av_log(s, AV_LOG_ERROR, "Compressed SWF format not supported\n");
|
||||||
return AVERROR(EIO);
|
return AVERROR(EIO);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user