You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/pcm: Reindent after the previous commit
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -279,16 +279,15 @@ static av_cold av_unused int pcm_scale_decode_init(AVCodecContext *avctx)
|
||||
avctx->sample_fmt = AV_SAMPLE_FMT_FLT;
|
||||
s->base.sample_size = 4;
|
||||
|
||||
if (avctx->bits_per_coded_sample < 1 || avctx->bits_per_coded_sample > 24)
|
||||
return AVERROR_INVALIDDATA;
|
||||
|
||||
s->scale = 1. / (1 << (avctx->bits_per_coded_sample - 1));
|
||||
fdsp = avpriv_float_dsp_alloc(0);
|
||||
if (!fdsp)
|
||||
return AVERROR(ENOMEM);
|
||||
s->vector_fmul_scalar = fdsp->vector_fmul_scalar;
|
||||
av_free(fdsp);
|
||||
if (avctx->bits_per_coded_sample < 1 || avctx->bits_per_coded_sample > 24)
|
||||
return AVERROR_INVALIDDATA;
|
||||
|
||||
s->scale = 1. / (1 << (avctx->bits_per_coded_sample - 1));
|
||||
fdsp = avpriv_float_dsp_alloc(0);
|
||||
if (!fdsp)
|
||||
return AVERROR(ENOMEM);
|
||||
s->vector_fmul_scalar = fdsp->vector_fmul_scalar;
|
||||
av_free(fdsp);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user