mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-29 06:20:29 +00:00
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:
parent
2d2020b825
commit
3e207bb1bd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user