Audacity 3.2.0
58/AVCodecIDLookup.cpp
Go to the documentation of this file.
1extern "C"
2{
3#include "../../avutil/56/avconfig.h"
4#include "../../ffmpeg-4.2.4-single-header.h"
5}
6
7#include <algorithm>
8
9#include "AVCodecID.h"
10
11#include "../../FFmpegAPIResolver.h"
12
13#define AV_CODEC_ID_ESCAPE130_DEPRECATED AV_CODEC_ID_ESCAPE130
14#define AV_CODEC_ID_G2M_DEPRECATED AV_CODEC_ID_G2M
15#define AV_CODEC_ID_WEBP_DEPRECATED AV_CODEC_ID_WEBP
16#define AV_CODEC_ID_HEVC_DEPRECATED AV_CODEC_ID_HEVC
17#define AV_CODEC_ID_PCM_S24LE_PLANAR_DEPRECATED AV_CODEC_ID_PCM_S24LE_PLANAR
18#define AV_CODEC_ID_PCM_S32LE_PLANAR_DEPRECATED AV_CODEC_ID_PCM_S32LE_PLANAR
19#define AV_CODEC_ID_OPUS_DEPRECATED AV_CODEC_ID_OPUS
20#define AV_CODEC_ID_TAK_DEPRECATED AV_CODEC_ID_TAK
21
22#define AV_CODEC_ID_VIMA AV_CODEC_ID_ADPCM_VIMA
23
24namespace avcodec_58
25{
26#include "../../AVCodecIDLookup.inl"
27
28const bool registered = ([]() {
30 &GetAVCodeID,
31 &GetAudacityCodecID
32 });
33
34 return true;
35})();
36
37}
void AddAVCodecIDResolver(int avCodecVersion, const AVCodecIDResolver &resolver)
static FFmpegAPIResolver & Get()
const bool registered