[Mplayer-cvslog] CVS: main/libavcodec msmpeg4.c,1.1,1.2
Jürgen Keil
jkeil at mplayer.dev.hu
Thu Jul 12 17:33:59 CEST 2001
- Previous message: [Mplayer-cvslog] CVS: main/libao2 ao_sun.c,1.4,1.5
- Next message: [Mplayer-cvslog] CVS: main bswap.h,NONE,1.1 Makefile,1.50,1.51 aviheader.c,1.15,1.16 configure,1.100,1.101 dec_audio.c,1.19,1.20 dec_video.c,1.2,1.3 demuxer.h,1.5,1.6 dll_init.c,1.21,1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libavcodec
In directory mplayer:/var/tmp.root/cvs-serv21271
Modified Files:
msmpeg4.c
Log Message:
fix avcodec crashes with "incorrect codes" error message.
init_vlc() call for the table_mb_intra passes an array size of 128, but the
table_mb_intra array only contains 64 elements in the first dimension!
Index: msmpeg4.c
===================================================================
RCS file: /cvsroot/mplayer/main/libavcodec/msmpeg4.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- msmpeg4.c 6 Jul 2001 03:32:40 -0000 1.1
+++ msmpeg4.c 12 Jul 2001 15:33:48 -0000 1.2
@@ -592,7 +592,7 @@
init_vlc(&mb_non_intra_vlc, 9, 128,
&table_mb_non_intra[0][1], 8, 4,
&table_mb_non_intra[0][0], 8, 4);
- init_vlc(&mb_intra_vlc, 9, 128,
+ init_vlc(&mb_intra_vlc, 9, 64,
&table_mb_intra[0][1], 4, 2,
&table_mb_intra[0][0], 4, 2);
return 0;
- Previous message: [Mplayer-cvslog] CVS: main/libao2 ao_sun.c,1.4,1.5
- Next message: [Mplayer-cvslog] CVS: main bswap.h,NONE,1.1 Makefile,1.50,1.51 aviheader.c,1.15,1.16 configure,1.100,1.101 dec_audio.c,1.19,1.20 dec_video.c,1.2,1.3 demuxer.h,1.5,1.6 dll_init.c,1.21,1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list