avcodec/alac: use branchless sign

This commit is contained in:
Paul B Mahol 2023-08-15 18:44:53 +02:00
parent 4463778aab
commit 4b30aef4c0
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ static int rice_decompress(ALACContext *alac, int32_t *output_buffer,
static inline int sign_only(int v)
{
return v ? FFSIGN(v) : 0;
return FFDIFFSIGN(v, 0);
}
static void lpc_prediction(int32_t *error_buffer, uint32_t *buffer_out,