Audacity 3.2.0
58/AVFormatImpl.cpp
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 AVFormatImpl.cpp
6
7 Dmitry Vedenko
8
9**********************************************************************/
10
11extern "C"
12{
13#include "../../avutil/56/avconfig.h"
14#include "../../ffmpeg-4.2.4-single-header.h"
15}
16
17#include <cstring>
18
19#include "FFmpegFunctions.h"
20
26
28
29#include "../../FFmpegAPIResolver.h"
30
31namespace avformat_58
32{
33#include "../AVFormatContextWrapperImpl.inl"
34#include "../AVInputFormatWrapperImpl.inl"
35#include "../AVIOContextWrapperImpl.inl"
36#include "../AVOutputFormatWrapperImpl.inl"
37#include "../AVStreamWrapperImpl.inl"
38
39const bool registered = ([]() {
41 &CreateAVFormatContextWrapper,
42 &CreateAVInputFormatWrapper,
43 &CreateAVIOContextWrapper,
44 &CreateAVOutputFormatWrapper,
45 &CreateAVStreamWrapper,
46 });
47
48 return true;
49})();
50}
void AddAVFormatFactories(int avFormatVersion, const AVFormatFactories &factories)
static FFmpegAPIResolver & Get()
const bool registered