mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-06-09 06:10:42 +00:00
pCommandString can be NULL; propagate result
This commit is contained in:
parent
d05f024485
commit
3d83b1ba66
|
@ -285,6 +285,8 @@ openResource(stream_t stream, const char *filename, int *popenFlag,
|
||||||
|
|
||||||
pCommandString = _build_reencode_cmd(extension, filename,
|
pCommandString = _build_reencode_cmd(extension, filename,
|
||||||
cfg_stream, md);
|
cfg_stream, md);
|
||||||
|
if (NULL == pCommandString)
|
||||||
|
return (NULL);
|
||||||
if (md_p != NULL)
|
if (md_p != NULL)
|
||||||
*md_p = md;
|
*md_p = md;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user