comparison 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
comparison
equal deleted inserted replaced
291:ab46ebfd419f 292:73a9ce3d9715
51 int dir); 51 int dir);
52 static void mpeg4_decode_sprite_trajectory(MpegEncContext * s); 52 static void mpeg4_decode_sprite_trajectory(MpegEncContext * s);
53 53
54 extern UINT32 inverse[256]; 54 extern UINT32 inverse[256];
55 55
56 static UINT16 mv_penalty[MAX_FCODE][MAX_MV*2+1]; 56 static UINT16 mv_penalty[MAX_FCODE+1][MAX_MV*2+1];
57 static UINT8 fcode_tab[MAX_MV*2+1]; 57 static UINT8 fcode_tab[MAX_MV*2+1];
58 static UINT8 umv_fcode_tab[MAX_MV*2+1]; 58 static UINT8 umv_fcode_tab[MAX_MV*2+1];
59 59
60 int h263_get_picture_format(int width, int height) 60 int h263_get_picture_format(int width, int height)
61 { 61 {