graphics.c: Check for empty json file
If we have an empty json file `json_node_get_object` will fail.
Add a check before it and return with SRT_GRAPHICS_ISSUES_CANNOT_LOAD
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
parent
280e8937
No related branches found
No related tags found
Loading
Please register or sign in to comment