Use global FFMPEGInit(). Removed compiler warning

This commit is contained in:
Isaac Connor 2021-02-04 14:07:20 -05:00
parent c57c50fd4a
commit da4b1fe3bc
1 changed files with 1 additions and 2 deletions

View File

@ -7,9 +7,8 @@ FFmpeg_Output::FFmpeg_Output() {
input_format_context = NULL;
video_stream_id = -1;
audio_stream_id = -1;
av_register_all();
avcodec_register_all();
FFMPEGInit();
}
FFmpeg_Output::~FFmpeg_Output() {
}