[FFmpeg-devel] [PATCH 3/4] dct-test: Remove possibility of returning a restricted exit code

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Oct 22 22:37:55 CEST 2013


Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
---
 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 4809124..f91e82c 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -580,5 +580,8 @@ int main(int argc, char **argv)
             }
     }
 
-    return err;
+    if (err)
+        printf("Error: %d.\n");
+
+    return !!err;
 }
-- 
1.8.4.rc3



More information about the ffmpeg-devel mailing list