You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/adpcm: cosmetics; reindent
This commit is contained in:
@@ -175,36 +175,36 @@ static av_cold int adpcm_decode_init(AVCodecContext * avctx)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch(avctx->codec->id) {
|
switch (avctx->codec->id) {
|
||||||
case AV_CODEC_ID_ADPCM_AICA:
|
case AV_CODEC_ID_ADPCM_AICA:
|
||||||
case AV_CODEC_ID_ADPCM_IMA_DAT4:
|
case AV_CODEC_ID_ADPCM_IMA_DAT4:
|
||||||
case AV_CODEC_ID_ADPCM_IMA_QT:
|
case AV_CODEC_ID_ADPCM_IMA_QT:
|
||||||
case AV_CODEC_ID_ADPCM_IMA_WAV:
|
case AV_CODEC_ID_ADPCM_IMA_WAV:
|
||||||
case AV_CODEC_ID_ADPCM_4XM:
|
case AV_CODEC_ID_ADPCM_4XM:
|
||||||
case AV_CODEC_ID_ADPCM_XA:
|
case AV_CODEC_ID_ADPCM_XA:
|
||||||
case AV_CODEC_ID_ADPCM_EA_R1:
|
case AV_CODEC_ID_ADPCM_EA_R1:
|
||||||
case AV_CODEC_ID_ADPCM_EA_R2:
|
case AV_CODEC_ID_ADPCM_EA_R2:
|
||||||
case AV_CODEC_ID_ADPCM_EA_R3:
|
case AV_CODEC_ID_ADPCM_EA_R3:
|
||||||
case AV_CODEC_ID_ADPCM_EA_XAS:
|
case AV_CODEC_ID_ADPCM_EA_XAS:
|
||||||
case AV_CODEC_ID_ADPCM_THP:
|
case AV_CODEC_ID_ADPCM_THP:
|
||||||
case AV_CODEC_ID_ADPCM_THP_LE:
|
case AV_CODEC_ID_ADPCM_THP_LE:
|
||||||
case AV_CODEC_ID_ADPCM_AFC:
|
case AV_CODEC_ID_ADPCM_AFC:
|
||||||
case AV_CODEC_ID_ADPCM_DTK:
|
case AV_CODEC_ID_ADPCM_DTK:
|
||||||
case AV_CODEC_ID_ADPCM_PSX:
|
case AV_CODEC_ID_ADPCM_PSX:
|
||||||
case AV_CODEC_ID_ADPCM_MTAF:
|
case AV_CODEC_ID_ADPCM_MTAF:
|
||||||
case AV_CODEC_ID_ADPCM_ARGO:
|
case AV_CODEC_ID_ADPCM_ARGO:
|
||||||
avctx->sample_fmt = AV_SAMPLE_FMT_S16P;
|
avctx->sample_fmt = AV_SAMPLE_FMT_S16P;
|
||||||
break;
|
break;
|
||||||
case AV_CODEC_ID_ADPCM_IMA_WS:
|
case AV_CODEC_ID_ADPCM_IMA_WS:
|
||||||
avctx->sample_fmt = c->vqa_version == 3 ? AV_SAMPLE_FMT_S16P :
|
avctx->sample_fmt = c->vqa_version == 3 ? AV_SAMPLE_FMT_S16P :
|
||||||
AV_SAMPLE_FMT_S16;
|
AV_SAMPLE_FMT_S16;
|
||||||
break;
|
break;
|
||||||
case AV_CODEC_ID_ADPCM_MS:
|
case AV_CODEC_ID_ADPCM_MS:
|
||||||
avctx->sample_fmt = avctx->channels > 2 ? AV_SAMPLE_FMT_S16P :
|
avctx->sample_fmt = avctx->channels > 2 ? AV_SAMPLE_FMT_S16P :
|
||||||
AV_SAMPLE_FMT_S16;
|
AV_SAMPLE_FMT_S16;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
|
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user