mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 08:15:46 +00:00
Fix build
This commit is contained in:
parent
5a7cc28dbc
commit
24a466c279
1 changed files with 1 additions and 2 deletions
|
@ -113,8 +113,7 @@ Decoder::Decoder(Tegra::Host1x::NvdecCommon::VideoCodec codec) {
|
|||
}
|
||||
|
||||
bool Decoder::SupportsDecodingOnDevice(AVPixelFormat* out_pix_fmt, AVHWDeviceType type) const {
|
||||
AVCodec *decoder = avcodec_find_decoder(m_codec);
|
||||
if (decoder) {
|
||||
if (avcodec_find_decoder(m_codec->id)) {
|
||||
for (int i = 0;; i++) {
|
||||
const AVCodecHWConfig* config = avcodec_get_hw_config(m_codec, i);
|
||||
if (!config) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue