Commit c7e7c819 authored by Max Kellermann's avatar Max Kellermann

decoder/vorbis: remove useless cast

parent fbf677d9
...@@ -102,7 +102,7 @@ vorbis_scan_comment(const char *comment, ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment