summaryrefslogtreecommitdiff
path: root/libavcodec/aacenctab.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-08-22 04:07:09 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-08-22 04:07:09 +0100
commit5cbcf2b24d287fe465926e3b31ef30f7bc92070e (patch)
treec6539f1cc058cf17ae9eee50fd6ad43ec8f2e618 /libavcodec/aacenctab.c
parent531b0a316b24f00965cd8a88efdbea2c6d63147f (diff)
aacenctab: Use FF_ARRAY_ELEMS
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com> Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Diffstat (limited to 'libavcodec/aacenctab.c')
-rw-r--r--libavcodec/aacenctab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacenctab.c b/libavcodec/aacenctab.c
index 39e8376021..e56be2bd9b 100644
--- a/libavcodec/aacenctab.c
+++ b/libavcodec/aacenctab.c
@@ -104,5 +104,5 @@ const uint8_t *swb_size_1024[] = {
swb_size_1024_8
};
-const int swb_size_128_len = sizeof(swb_size_128)/sizeof(*swb_size_128);
-const int swb_size_1024_len = sizeof(swb_size_1024)/sizeof(*swb_size_1024);
+const int swb_size_128_len = FF_ARRAY_ELEMS(swb_size_128);
+const int swb_size_1024_len = FF_ARRAY_ELEMS(swb_size_1024);