libmediactl: restruct error path
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 5 Sep 2011 15:24:03 +0000 (18:24 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 6 Sep 2011 10:16:41 +0000 (12:16 +0200)
commit9abe990480a602ff076caa1010edee033e74b54c
tree074bffe2f9495c03dd62842d819d863f0738c0e7
parentcefd89c8b444e76e663b63734cf3c55b315ceb9f
libmediactl: restruct error path

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[laurent.pinchart@ideasonboard.com: Fix return value at end of
enumeration]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
src/media.c