summaryrefslogtreecommitdiff
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-03-24 23:45:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-03-24 23:45:13 +0000
commit9c15096e3f724f10e21d3dea30a8d49e04a3cf7c (patch)
tree0c978009ebb565351950ee1a72447ffc739438af /libavcodec/h263.c
parentd633c2c0964b05b398e24b2447d9487316641794 (diff)
fcode_tables where too small, found by Klaas-Pieter Vlieg <vlieg@eurescom.de>
Originally committed as revision 360 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 0a83a4de01..01b7accc16 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -53,7 +53,7 @@ static void mpeg4_decode_sprite_trajectory(MpegEncContext * s);
extern UINT32 inverse[256];
-static UINT16 mv_penalty[MAX_FCODE][MAX_MV*2+1];
+static UINT16 mv_penalty[MAX_FCODE+1][MAX_MV*2+1];
static UINT8 fcode_tab[MAX_MV*2+1];
static UINT8 umv_fcode_tab[MAX_MV*2+1];