diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-05-30 17:10:25 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-05-30 17:12:09 +0200 |
commit | e13967d6479ead0be90fa241feb52a776b8481dc (patch) | |
tree | 7996b8aa03f1d47fee93053f1c13f9a86a83ec5b | |
parent | 7a561627189f6062d99bcb77a0c52dd55f25455e (diff) |
Return NULL for default entity types in media_get_default_entity
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | src/mediactl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mediactl.c b/src/mediactl.c index 4ac2e13..6e2d29a 100644 --- a/src/mediactl.c +++ b/src/mediactl.c @@ -158,6 +158,8 @@ struct media_entity *media_get_default_entity(struct media_device *media, case MEDIA_ENT_T_DEVNODE_DVB: return media->def.dvb; } + + return NULL; } const struct media_device_info *media_get_info(struct media_device *media) |