1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-11 08:56:03 +01:00

FFmpeg: Rename all CODEC_ID_* to AV_CODEC_ID_*.

This commit is contained in:
benjamin.drung@gmail.com
2014-05-29 16:02:46 +00:00
parent 33b9e9336f
commit feae3ffa98
2 changed files with 327 additions and 327 deletions

View File

@@ -445,7 +445,7 @@ bool ExportFFmpeg::InitCodecs(AudacityProject *project)
mEncAudioCodecCtx->sample_fmt = AV_SAMPLE_FMT_S16;
mEncAudioCodecCtx->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
if (mEncAudioCodecCtx->codec_id == CODEC_ID_AC3)
if (mEncAudioCodecCtx->codec_id == AV_CODEC_ID_AC3)
{
// As of Jan 4, 2011, the default AC3 encoder only accept SAMPLE_FMT_FLT samples.
// But, currently, Audacity only supports SAMPLE_FMT_S16. So, for now, look for the