Fix possible segfault.

This commit is contained in:
Themaister 2011-11-22 17:32:38 +01:00
parent 604eb9b973
commit 46054de4f8

View File

@ -180,7 +180,7 @@ static void video_frame(const uint16_t *data, unsigned width, unsigned height)
}
#endif
if (!data)
if (is_dupe)
return;
const char *msg = msg_queue_pull(g_extern.msg_queue);