Closed
Description
After the commit 986bd65, decoding frequently fails with the error like:
[OpenH264] this = 0x0xa0010d6b0, Error:DecodeCurrentAccessUnit()::::::PrefetchPic ERROR, pSps->iNumRefFrames:3.
This caused if iPicBuffIdx
is zero at:
986bd65#diff-089ebaf0325c2c30af67611943308f0621afbceb64450c668961b6bd1561b43fR1137
I think this line should be
if (iPicBuffIdx >= 0 && iPicBuffIdx < pPicBuff->iCapacity)
rather than
if (iPicBuffIdx > 0 && iPicBuffIdx < pPicBuff->iCapacity)
.
I hope this bug would be fixed in the next release.
Metadata
Assignees
Labels
No labels