History

avcodec/pcm: Reindent after the previous commit

Andreas Rheinhardt committed 1 year ago

Commit 05ab7761 parent c6d74361 file · +9 −10Browse files

Unified · Split

libavcodec/pcm.c+9−10
@@ -279,16 +279,15 @@ static av_cold av_unused int pcm_scale_decode_init(AVCodecContext *avctx) · 278 unmodified lines
279279 avctx->sample_fmt = AV_SAMPLE_FMT_FLT;
280280 s->base.sample_size = 4;
281281
282− if (avctx->bits_per_coded_sample < 1 || avctx->bits_per_coded_sample > 24)
283− return AVERROR_INVALIDDATA;
284−
285− s->scale = 1. / (1 << (avctx->bits_per_coded_sample - 1));
286− fdsp = avpriv_float_dsp_alloc(0);
287− if (!fdsp)
288− return AVERROR(ENOMEM);
289− s->vector_fmul_scalar = fdsp->vector_fmul_scalar;
290− av_free(fdsp);
291−
282+ if (avctx->bits_per_coded_sample < 1 || avctx->bits_per_coded_sample > 24)
283+ return AVERROR_INVALIDDATA;
284+
285+ s->scale = 1. / (1 << (avctx->bits_per_coded_sample - 1));
286+ fdsp = avpriv_float_dsp_alloc(0);
287+ if (!fdsp)
288+ return AVERROR(ENOMEM);
289+ s->vector_fmul_scalar = fdsp->vector_fmul_scalar;
290+ av_free(fdsp);
292291
293292 return 0;
294293 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t