check num_entries too to avoid reading over the array end and dont check i>0 it must...
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Nov 2004 00:15:49 +0000 (00:15 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Nov 2004 00:15:49 +0000 (00:15 +0000)
commit6db2583c4f1013f2c1772507d0443dbe1c48b519
treecd856035f3eea66ffe805d35e58dfe3162adc2ec
parent80516d720ae2a9e8d01a83deb475f85c4c29e6df
check num_entries too to avoid reading over the array end and dont check i>0 it must be >0 there

Originally committed as revision 3708 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo.c