diff --git a/libavcodec/mpeg12data.c b/libavcodec/mpeg12data.c index d26c5da1d4..e8c4a5d3d1 100644 --- a/libavcodec/mpeg12data.c +++ b/libavcodec/mpeg12data.c @@ -27,7 +27,7 @@ #include "mpeg12data.h" -const uint16_t ff_mpeg1_default_intra_matrix[64] = { +const uint16_t ff_mpeg1_default_intra_matrix[256] = { 8, 16, 19, 22, 26, 27, 29, 34, 16, 16, 22, 24, 27, 29, 34, 37, 19, 22, 26, 27, 29, 34, 34, 38, diff --git a/libavcodec/mpeg12data.h b/libavcodec/mpeg12data.h index 0e289b2cb5..65b94855a8 100644 --- a/libavcodec/mpeg12data.h +++ b/libavcodec/mpeg12data.h @@ -32,7 +32,7 @@ #include "libavutil/rational.h" #include "rl.h" -extern const uint16_t ff_mpeg1_default_intra_matrix[64]; +extern const uint16_t ff_mpeg1_default_intra_matrix[]; extern const uint16_t ff_mpeg1_default_non_intra_matrix[64]; extern const uint16_t ff_mpeg12_vlc_dc_lum_code[12];