summaryrefslogtreecommitdiff
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-10-18 21:03:10 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-10-18 21:03:10 +0000
commit98942fb2c98e26a162623c31c8bf00e04012fdd2 (patch)
tree657944f3e65b6895e59b057c0a35b723a82c076e /libavcodec/allcodecs.c
parentbbfc038f09ff23cfef620353565fe2ebf4b91ca0 (diff)
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.c4
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;