Commit 1a190549 authored by michael's avatar michael

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8391 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 90a019ca
...@@ -625,13 +625,10 @@ void MPV_decode_defaults(MpegEncContext *s){ ...@@ -625,13 +625,10 @@ void MPV_decode_defaults(MpegEncContext *s){
#ifdef CONFIG_ENCODERS #ifdef CONFIG_ENCODERS
static void MPV_encode_defaults(MpegEncContext *s){ static void MPV_encode_defaults(MpegEncContext *s){
static int done=0;
MPV_common_defaults(s); MPV_common_defaults(s);
if(!done){ {
int i; int i;
done=1;
for(i=-16; i<16; i++){ for(i=-16; i<16; i++){
default_fcode_tab[i + MAX_MV]= 1; default_fcode_tab[i + MAX_MV]= 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment