[FFmpeg-cvslog] dct-test: Remove possibility of returning a restricted exit code
Derek Buitenhuis
git at videolan.org
Fri Oct 25 13:47:39 CEST 2013
ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Tue Oct 22 19:18:36 2013 +0100| [5331d2b93fe277b3d81ace47fef017528e72b7c4] | 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=5331d2b93fe277b3d81ace47fef017528e72b7c4
---
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;
}
More information about the ffmpeg-cvslog
mailing list