parseutils: make av_parse_time() check for failure.
authorNicolas George <nicolas.george@normalesup.org>
Mon, 16 Apr 2012 13:57:18 +0000 (15:57 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Mon, 23 Apr 2012 12:39:01 +0000 (14:39 +0200)
commit43b70680706f1c275f0c4a67e1483e409e73538a
tree5009d2d5f7065ecb22165c430d4927f4ea84c796
parent9246896f7778bc8002b08a36d004854bf1426fbf
parseutils: make av_parse_time() check for failure.

Until now, av_parse_time() would accept "1:00" as "1"
and silently ignore ":00".

This patch also includes a few cosmetic changes.
libavutil/parseutils.c