changeset 2623:81e681e8416c libavformat

small simplification
author aurel
date Thu, 18 Oct 2007 21:03:10 +0000
parents c63b1bd7be16
children 7c3869c40295
files allformats.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/allformats.c	Thu Oct 18 15:02:34 2007 +0000
+++ b/allformats.c	Thu Oct 18 21:03:10 2007 +0000
@@ -43,9 +43,9 @@
  */
 void av_register_all(void)
 {
-    static int inited = 0;
+    static int inited;
 
-    if (inited != 0)
+    if (inited)
         return;
     inited = 1;