1
0
Fork 0

pCommandString can be NULL; propagate result

This commit is contained in:
Moritz Grimm 2020-02-12 00:29:20 +01:00
parent d05f024485
commit 3d83b1ba66
1 changed files with 2 additions and 0 deletions

View File

@ -285,6 +285,8 @@ openResource(stream_t stream, const char *filename, int *popenFlag,
pCommandString = _build_reencode_cmd(extension, filename,
cfg_stream, md);
if (NULL == pCommandString)
return (NULL);
if (md_p != NULL)
*md_p = md;
else