Module: libav
Branch: master
Commit: 5331d2b93fe277b3d81ace47fef017528e72b7c4

Author:    Derek Buitenhuis <[email protected]>
Committer: Derek Buitenhuis <[email protected]>
Date:      Tue Oct 22 19:18:36 2013 +0100

dct-test: Remove possibility of returning a restricted exit code

Signed-off-by: Derek Buitenhuis <[email protected]>

---

 libavcodec/dct-test.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 730a368..b7a27f0 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -531,5 +531,8 @@ int main(int argc, char **argv)
             }
     }
 
-    return err;
+    if (err)
+        printf("Error: %d.\n", err);
+
+    return !!err;
 }

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to