mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Reindent.
Originally committed as revision 25940 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8afab68605
commit
f671584845
24
ffmpeg.c
24
ffmpeg.c
@ -827,18 +827,18 @@ need_realloc:
|
|||||||
ost->resample = NULL;
|
ost->resample = NULL;
|
||||||
ost->audio_resample = 0;
|
ost->audio_resample = 0;
|
||||||
} else {
|
} else {
|
||||||
if (dec->sample_fmt != AV_SAMPLE_FMT_S16)
|
if (dec->sample_fmt != AV_SAMPLE_FMT_S16)
|
||||||
fprintf(stderr, "Warning, using s16 intermediate sample format for resampling\n");
|
fprintf(stderr, "Warning, using s16 intermediate sample format for resampling\n");
|
||||||
ost->resample = av_audio_resample_init(enc->channels, dec->channels,
|
ost->resample = av_audio_resample_init(enc->channels, dec->channels,
|
||||||
enc->sample_rate, dec->sample_rate,
|
enc->sample_rate, dec->sample_rate,
|
||||||
enc->sample_fmt, dec->sample_fmt,
|
enc->sample_fmt, dec->sample_fmt,
|
||||||
16, 10, 0, 0.8);
|
16, 10, 0, 0.8);
|
||||||
if (!ost->resample) {
|
if (!ost->resample) {
|
||||||
fprintf(stderr, "Can not resample %d channels @ %d Hz to %d channels @ %d Hz\n",
|
fprintf(stderr, "Can not resample %d channels @ %d Hz to %d channels @ %d Hz\n",
|
||||||
dec->channels, dec->sample_rate,
|
dec->channels, dec->sample_rate,
|
||||||
enc->channels, enc->sample_rate);
|
enc->channels, enc->sample_rate);
|
||||||
ffmpeg_exit(1);
|
ffmpeg_exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user