mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
avcodec/alac: use branchless sign
This commit is contained in:
parent
4463778aab
commit
4b30aef4c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue