changeset 5840:1c2feee3a8d5 libavcodec

small simplification
author aurel
date Thu, 18 Oct 2007 21:03:10 +0000
parents b098f7cfc478
children 8cdb7ff18b4e
files allcodecs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/allcodecs.c	Thu Oct 18 16:10:36 2007 +0000
+++ b/allcodecs.c	Thu Oct 18 21:03:10 2007 +0000
@@ -53,9 +53,9 @@
  */
 void avcodec_register_all(void)
 {
-    static int inited = 0;
+    static int inited;
 
-    if (inited != 0)
+    if (inited)
         return;
     inited = 1;