[FFmpeg-cvslog] aacenctab: Use FF_ARRAY_ELEMS
Timothy Gu
git at videolan.org
Sat Aug 22 05:15:35 CEST 2015
ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Sat Aug 22 04:07:09 2015 +0100| [5cbcf2b24d287fe465926e3b31ef30f7bc92070e] | committer: Rostislav Pehlivanov
aacenctab: Use FF_ARRAY_ELEMS
Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag at mit.edu>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5cbcf2b24d287fe465926e3b31ef30f7bc92070e
---
libavcodec/aacenctab.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/aacenctab.c b/libavcodec/aacenctab.c
index 39e8376..e56be2b 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);
More information about the ffmpeg-cvslog
mailing list