avcodec: add 64-bit signed pcm codec

This commit is contained in:
Paul B Mahol
2016-08-17 19:46:21 +02:00
parent 9876d8fc6d
commit fc600eff63
9 changed files with 40 additions and 5 deletions

View File

@@ -2991,6 +2991,8 @@ enum AVCodecID ff_get_pcm_codec_id(int bps, int flt, int be, int sflags)
return be ? AV_CODEC_ID_PCM_S24BE : AV_CODEC_ID_PCM_S24LE;
case 4:
return be ? AV_CODEC_ID_PCM_S32BE : AV_CODEC_ID_PCM_S32LE;
case 8:
return be ? AV_CODEC_ID_PCM_S64BE : AV_CODEC_ID_PCM_S64LE;
default:
return AV_CODEC_ID_NONE;
}