diff options
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r-- | libavcodec/allcodecs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 90718ddf2a..7294e7f082 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -53,9 +53,9 @@ */ void avcodec_register_all(void) { - static int inited = 0; + static int inited; - if (inited != 0) + if (inited) return; inited = 1; |