summaryrefslogtreecommitdiff
path: root/cfc025ce9f94a729e8fe9cc16466db288cd201da
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2011-10-07 18:38:03 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-08 13:30:11 +0200
commit636b48e43db57442fd631a7c5592e34da74f191d (patch)
treea0b06b78f7f9d3b762fbec3e884498630fcd7a2b /cfc025ce9f94a729e8fe9cc16466db288cd201da
parent9a5f1e0365265310545abdd43da7d28a44fd43a6 (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 'cfc025ce9f94a729e8fe9cc16466db288cd201da')
0 files changed, 0 insertions, 0 deletions