diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2011-10-07 18:38:03 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-10-08 13:30:11 +0200 |
commit | 636b48e43db57442fd631a7c5592e34da74f191d (patch) | |
tree | a0b06b78f7f9d3b762fbec3e884498630fcd7a2b /636b48e43db57442fd631a7c5592e34da74f191d | |
parent | 9a5f1e0365265310545abdd43da7d28a44fd43a6 (diff) |
Move link parsing from main.c to media.c, making it part of libmediactl
This makes it possible to benefit from the link parsing code anywhere the
library is being used.
dprintf macro will later be replaced with proper debug support.
Also fix a case where -1 was returned on error and the user was expected to
check the value of errno. Negative error codes are now returned
consistently.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to '636b48e43db57442fd631a7c5592e34da74f191d')
0 files changed, 0 insertions, 0 deletions