diff allcodecs.c @ 5840:1c2feee3a8d5 libavcodec

small simplification
author aurel
date Thu, 18 Oct 2007 21:03:10 +0000
parents 4beef9d0e663
children 8cdb7ff18b4e
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;