mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 19:34:43 +00:00
avcodec/mace: fix some style issues
This commit is contained in:
parent
d39f9feddc
commit
afc7679c89
@ -183,14 +183,13 @@ static int16_t read_table(ChannelData *chd, uint8_t val, int tab_idx)
|
||||
current = - 1 - tabs[tab_idx].tab2[((chd->index & 0x7f0) >> 4)*tabs[tab_idx].stride + 2*tabs[tab_idx].stride-val-1];
|
||||
|
||||
if (( chd->index += tabs[tab_idx].tab1[val]-(chd->index >> 5) ) < 0)
|
||||
chd->index = 0;
|
||||
chd->index = 0;
|
||||
|
||||
return current;
|
||||
}
|
||||
|
||||
static void chomp3(ChannelData *chd, int16_t *output, uint8_t val, int tab_idx)
|
||||
{
|
||||
|
||||
int16_t current = read_table(chd, val, tab_idx);
|
||||
|
||||
current = mace_broken_clip_int16(current + chd->level);
|
||||
|
Loading…
Reference in New Issue
Block a user