remove silly static int done protecting the initalization of 32 elements to 1

Originally committed as revision 8391 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-03-13 22:51:11 +00:00
parent 2d2020b825
commit 3e207bb1bd

View File

@ -625,13 +625,10 @@ void MPV_decode_defaults(MpegEncContext *s){
#ifdef CONFIG_ENCODERS
static void MPV_encode_defaults(MpegEncContext *s){
static int done=0;
MPV_common_defaults(s);
if(!done){
{
int i;
done=1;
for(i=-16; i<16; i++){
default_fcode_tab[i + MAX_MV]= 1;