mirror of https://github.com/mpv-player/mpv
stream_radio: suppress error with -Werror=format-security compilation flag
Signed-off-by: wm4 <wm4@nowhere>
This commit is contained in:
parent
79b09592c8
commit
c31ce789c5
|
@ -864,7 +864,7 @@ static int open_s(stream_t *stream,int mode)
|
||||||
MP_VERBOSE(priv, "\n");
|
MP_VERBOSE(priv, "\n");
|
||||||
|
|
||||||
if(priv->driver)
|
if(priv->driver)
|
||||||
MP_INFO(priv, priv->driver->info);
|
MP_INFO(priv, "%s", priv->driver->info);
|
||||||
else{
|
else{
|
||||||
MP_INFO(priv, "Unknown driver name: %s\n",priv->radio_param->driver);
|
MP_INFO(priv, "Unknown driver name: %s\n",priv->radio_param->driver);
|
||||||
close_s(stream);
|
close_s(stream);
|
||||||
|
|
Loading…
Reference in New Issue