changeset 784:35b881454ea2

Move a function implementation.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 03 Aug 2013 23:48:12 +0300
parents 865f45701390
children dbf5772690a8
files dmengine.c dmsimple.c
diffstat 2 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/dmengine.c	Tue Jul 30 17:43:02 2013 +0300
+++ b/dmengine.c	Sat Aug 03 23:48:12 2013 +0300
@@ -391,3 +391,12 @@
 {
     return engineGetTime(engine, t) / 1000;
 }
+
+
+int engineGetVideoAspect(int width, int height)
+{
+    if (width > 0 && height > 0)
+        return (width * 1000) / height;
+    else
+        return 1;
+}
--- a/dmsimple.c	Tue Jul 30 17:43:02 2013 +0300
+++ b/dmsimple.c	Sat Aug 03 23:48:12 2013 +0300
@@ -615,15 +615,6 @@
 }
 
 
-int engineGetVideoAspect(int width, int height)
-{
-    if (width > 0 && height > 0)
-        return (width * 1000) / height;
-    else
-        return 1;
-}
-
-
 int main(int argc, char *argv[])
 {
     int err;