Browse Source

aacenctab: Use FF_ARRAY_ELEMS

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
tags/n2.8
Timothy Gu Rostislav Pehlivanov 10 years ago
parent
commit
5cbcf2b24d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/aacenctab.c

+ 2
- 2
libavcodec/aacenctab.c View File

@@ -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);

Loading…
Cancel
Save