lib/media_player: libvlc_get_track_description: simplify allocations
commit37205f4443d4daaa74e5b617aa1f54a1151f37fd
authorFilip Roséen <filip@atch.se>
Wed, 15 Mar 2017 09:09:56 +0000 (15 10:09 +0100)
committerThomas Guillem <thomas@gllm.fr>
Fri, 17 Mar 2017 08:07:22 +0000 (17 09:07 +0100)
treec9181aaad1d2954039adbdb78120c09a1af1548a
parent59bc6a45d6269f0621774a1d3f1569faa835d08a
lib/media_player: libvlc_get_track_description: simplify allocations

There is no need for the explicit cast, nor do we need to state the
name of the object's type for which we are allocating memory. These
changes should make it easier to read, and maintain, the function.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
lib/media_player.c