diff h263.c @ 292:73a9ce3d9715 libavcodec

fcode_tables where too small, found by Klaas-Pieter Vlieg <vlieg@eurescom.de>
author michaelni
date Sun, 24 Mar 2002 23:45:13 +0000
parents ab46ebfd419f
children 6eaf5da091fa
line wrap: on
line diff
--- a/h263.c	Sun Mar 24 22:02:21 2002 +0000
+++ b/h263.c	Sun Mar 24 23:45:13 2002 +0000
@@ -53,7 +53,7 @@
 
 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];