diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-18 21:03:10 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-18 21:03:10 +0000 |
commit | 98942fb2c98e26a162623c31c8bf00e04012fdd2 (patch) | |
tree | 657944f3e65b6895e59b057c0a35b723a82c076e /libavcodec/allcodecs.c | |
parent | bbfc038f09ff23cfef620353565fe2ebf4b91ca0 (diff) | |
download | ffmpeg-98942fb2c98e26a162623c31c8bf00e04012fdd2.tar.gz |
small simplification
Originally committed as revision 10783 to svn://svn.ffmpeg.org/ffmpeg/trunk
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; |