decoder/vorbis: remove useless cast
This commit is contained in:
@@ -102,7 +102,7 @@ vorbis_scan_comment(const char *comment,
|
|||||||
const struct tag_handler *handler, void *handler_ctx)
|
const struct tag_handler *handler, void *handler_ctx)
|
||||||
{
|
{
|
||||||
if (handler->pair != nullptr) {
|
if (handler->pair != nullptr) {
|
||||||
char *name = g_strdup((const char*)comment);
|
char *name = g_strdup(comment);
|
||||||
char *value = strchr(name, '=');
|
char *value = strchr(name, '=');
|
||||||
|
|
||||||
if (value != nullptr && value > name) {
|
if (value != nullptr && value > name) {
|
||||||
|
Reference in New Issue
Block a user