[FFmpeg-cvslog] dct-test: Remove possibility of returning a restricted exit code
Derek Buitenhuis
git at videolan.org
Thu Oct 24 11:54:38 CEST 2013
ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Tue Oct 22 19:18:36 2013 +0100| [f80ca1cb002c53927fa3edaff5082bfba24d6193] | committer: Derek Buitenhuis
dct-test: Remove possibility of returning a restricted exit code
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f80ca1cb002c53927fa3edaff5082bfba24d6193
---
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..be00c4b 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", err);
+
+ return !!err;
}
More information about the ffmpeg-cvslog
mailing list