Fix for old Xcode version in CI
This commit is contained in:
parent
ff40bc105e
commit
3fb328e238
1 changed files with 2 additions and 0 deletions
|
|
@ -285,6 +285,7 @@ int DrSubmitDecodeUnit(PDECODE_UNIT decodeUnit);
|
|||
// No frame data to submit for these NALUs
|
||||
return DR_OK;
|
||||
}
|
||||
#if defined(__IPHONE_16_0) || defined(__TVOS_16_0)
|
||||
else if ((videoFormat & VIDEO_FORMAT_MASK_AV1) && frameType == FRAME_TYPE_IDR) {
|
||||
// AV1 doesn't have a special format description function like H.264 and HEVC have, so we just use the generic one
|
||||
// TODO: Is this correct?
|
||||
|
|
@ -294,6 +295,7 @@ int DrSubmitDecodeUnit(PDECODE_UNIT decodeUnit);
|
|||
formatDesc = NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (formatDesc == NULL) {
|
||||
// Can't decode if we haven't gotten our parameter sets yet
|
||||
|
|
|
|||
Loading…
Reference in a new issue