mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
video mixer: check for invalid format
Change-Id: I963858322e8cb2f4035238acc6b3c542b2a0a06e
This commit is contained in:
@ -179,7 +179,7 @@ void
|
||||
VideoMixer::render_frame(VideoFrame& output, const VideoFrame& input,
|
||||
const std::unique_ptr<VideoMixerSource>& source, int index)
|
||||
{
|
||||
if (!width_ or !height_ or !input.pointer())
|
||||
if (!width_ or !height_ or !input.pointer() or input.pointer()->format == -1)
|
||||
return;
|
||||
|
||||
#ifdef RING_ACCEL
|
||||
|
Reference in New Issue
Block a user