diff options
author | Mans Rullgard <mans@mansr.com> | 2012-10-10 12:51:04 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-10-10 13:33:45 +0100 |
commit | 41e46a5fbacc8ff51cac37f8e6fffd41fc226fbc (patch) | |
tree | 0fd5653efebdd8126ec3d52aadca11b9f040a35b /libavutil/parseutils.c | |
parent | ada12f836657648271972428b0e4a50c81eb7e15 (diff) | |
download | ffmpeg-41e46a5fbacc8ff51cac37f8e6fffd41fc226fbc.tar.gz |
parseutils-test: do not print numerical error codes
The error codes differ between systems so printing the value makes
the fate test fail on some systems.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavutil/parseutils.c')
-rw-r--r-- | libavutil/parseutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c index d3f08b72ed..b51f2e86ce 100644 --- a/libavutil/parseutils.c +++ b/libavutil/parseutils.c @@ -683,8 +683,8 @@ int main(void) int ret; AVRational q = (AVRational){0, 0}; ret = av_parse_video_rate(&q, rates[i]), - printf("'%s' -> %d/%d ret:%d\n", - rates[i], q.num, q.den, ret); + printf("'%s' -> %d/%d %s\n", + rates[i], q.num, q.den, ret ? "ERROR" : "OK"); } } |