aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/parseutils.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-10 12:51:04 +0100
committerMans Rullgard <mans@mansr.com>2012-10-10 13:33:45 +0100
commit41e46a5fbacc8ff51cac37f8e6fffd41fc226fbc (patch)
tree0fd5653efebdd8126ec3d52aadca11b9f040a35b /libavutil/parseutils.c
parentada12f836657648271972428b0e4a50c81eb7e15 (diff)
downloadffmpeg-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.c4
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");
}
}