this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Always Call `av_probe_input_format`

Fortunately, the FFmpeg package in Ubuntu 20.04 also has the `av_probe_input_format` method. Therefore, we can remove the old code.

Thomas A 0bcc5815 9655d559

-8
-8
src/CoreAudio/AFAVFormatComponent/AudioFileFormatGeneric.cpp
··· 92 92 probeData.buf = buf.data(); 93 93 probeData.buf_size = inDataByteSize; 94 94 95 - #warning "TODO: Remove old `read_probe` call once we no longer support older distros" 96 - #if LIBAVCODEC_VERSION_MAJOR >= 61 97 95 return av_probe_input_format(&probeData, false) != nullptr ? kTrue : kFalse; 98 - #else 99 - const AVInputFormat* fmt = av_find_input_format(m_avformatShortName); 100 - if (!fmt) 101 - return false; 102 - return fmt->read_probe(&probeData) ? kTrue : kFalse; 103 - #endif 104 96 } 105 97 106 98 AudioFileObject* AudioFileFormatGeneric::New()