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>
This commit is contained in:
Mans Rullgard
2012-10-10 12:51:04 +01:00
parent ada12f8366
commit 41e46a5fba
2 changed files with 27 additions and 27 deletions

View File

@@ -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");
}
}