aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ttadata.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-08-16 20:03:42 +0200
committerPaul B Mahol <onemda@gmail.com>2023-08-16 21:36:40 +0200
commit082133fc076e67640a0e846c11389d67d7ea5ec6 (patch)
tree5b2ff38b871a6112931cd356f53b2ee35a970cbc /libavcodec/ttadata.c
parent8f7850a22ec9190731aafad00ec36807565c5323 (diff)
downloadffmpeg-082133fc076e67640a0e846c11389d67d7ea5ec6.tar.gz
avcodec/tta: fix minor code style issues
Diffstat (limited to 'libavcodec/ttadata.c')
-rw-r--r--libavcodec/ttadata.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ttadata.c b/libavcodec/ttadata.c
index 297d709480..2137a23033 100644
--- a/libavcodec/ttadata.c
+++ b/libavcodec/ttadata.c
@@ -47,7 +47,8 @@ void ff_tta_rice_init(TTARice *c, uint32_t k0, uint32_t k1)
c->sum1 = ff_tta_shift_16[k1];
}
-void ff_tta_filter_init(TTAFilter *c, int32_t shift) {
+void ff_tta_filter_init(TTAFilter *c, int32_t shift)
+{
memset(c, 0, sizeof(TTAFilter));
c->shift = shift;
c->round = ff_tta_shift_1[shift-1];