Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-21 16:00:48 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-07-21 16:00:48 +0400
commit40541716661eef877dcff43a4d35e7ad31ea992a (patch)
tree74cfb372bdf3d7a0895d825c36fb8139fec97c3d /libavcodec/dct-test.c
parentc05dbb8744f55823ba1ae2bca774b068bb55dc12 (diff)
avcodec/dct-test: remove fixed array sizes
They are unneeded and make adding elements slightly harder as they would need to be constantly updated Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 020dd9d1b8..a11c91ced8 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -55,7 +55,7 @@ struct algo {
int nonspec;
};
-static const struct algo fdct_tab[4] = {
+static const struct algo fdct_tab[] = {
{ "REF-DBL", ff_ref_fdct, FF_IDCT_PERM_NONE },
{ "FAAN", ff_faandct, FF_IDCT_PERM_NONE },
{ "IJG-AAN-INT", ff_fdct_ifast, FF_IDCT_PERM_NONE },
@@ -75,7 +75,7 @@ static void ff_prores_idct_wrap(int16_t *dst){
}
}
-static const struct algo idct_tab[5] = {
+static const struct algo idct_tab[] = {
{ "FAANI", ff_faanidct, FF_IDCT_PERM_NONE },
{ "REF-DBL", ff_ref_idct, FF_IDCT_PERM_NONE },
{ "INT", ff_j_rev_dct, FF_IDCT_PERM_LIBMPEG2 },