Skip to content

Unbreak build on FreeBSD < 14 #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2024
Merged

Unbreak build on FreeBSD < 14 #291

merged 1 commit into from
May 6, 2024

Conversation

jbeich
Copy link
Contributor

@jbeich jbeich commented May 6, 2024

Regressed by a28ffbb commit: 22be775 and d94c592 are identical but then 119a5a3 was improperly rebased.

src/hevc.c:247:90: error: use of undeclared identifier '__compar_d_fn_t'
    qsort_r(ppc->RefPicSetStCurrBefore, ppc->NumPocStCurrBefore, sizeof(unsigned char), (__compar_d_fn_t) sortFuncRev, ppc->PicOrderCntVal);
                                                                                         ^
src/hevc.c:248:88: error: use of undeclared identifier '__compar_d_fn_t'
    qsort_r(ppc->RefPicSetStCurrAfter, ppc->NumPocStCurrAfter, sizeof(unsigned char), (__compar_d_fn_t) sortFunc, ppc->PicOrderCntVal);
                                                                                       ^
@elFarto
Copy link
Owner

elFarto commented May 6, 2024

Thanks for the patch!

@elFarto elFarto merged commit 3b7a26e into elFarto:master May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants