[FFmpeg-cvslog] avcodec/mace: fix some style issues
Paul B Mahol
git at videolan.org
Thu Jun 16 11:21:53 EEST 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Jun 6 17:41:19 2022 +0200| [afc7679c89fc5bd017b910cfc0a45f8ed080c1d4] | committer: Paul B Mahol
avcodec/mace: fix some style issues
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=afc7679c89fc5bd017b910cfc0a45f8ed080c1d4
---
libavcodec/mace.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/mace.c b/libavcodec/mace.c
index 35af4a6aae..110b320031 100644
--- a/libavcodec/mace.c
+++ b/libavcodec/mace.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list