Commit 9186a2f0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove useless (and slightly wrong) cast

parent c1b21f0a
...@@ -3117,8 +3117,8 @@ void input_SplitMRL( const char **ppsz_access, const char **ppsz_demux, char **p ...@@ -3117,8 +3117,8 @@ void input_SplitMRL( const char **ppsz_access, const char **ppsz_demux, char **p
{ {
psz_path = psz_dup; psz_path = psz_dup;
} }
*ppsz_access = psz_access ? psz_access : (char*)""; *ppsz_access = psz_access ? psz_access : "";
*ppsz_demux = psz_demux ? psz_demux : (char*)""; *ppsz_demux = psz_demux ? psz_demux : "";
*ppsz_path = psz_path; *ppsz_path = psz_path;
} }
......
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