mirror of
https://code.videolan.org/videolan/vlc
synced 2024-07-21 07:24:15 +02:00
parent
5143536264
commit
0768eef6ce
@ -303,6 +303,9 @@ QImage RoundImage::RoundImageGenerator::execute()
|
|||||||
if (width <= 0 || height <= 0)
|
if (width <= 0 || height <= 0)
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
|
if (source.isEmpty())
|
||||||
|
return {};
|
||||||
|
|
||||||
auto file = getReadable(source);
|
auto file = getReadable(source);
|
||||||
if (!file || !file->isOpen())
|
if (!file || !file->isOpen())
|
||||||
return {};
|
return {};
|
||||||
|
Loading…
Reference in New Issue
Block a user