mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-04-07 18:05:51 +00:00
Video decoder safety fix
This commit is contained in:
@@ -571,6 +571,8 @@ static void *decompress_thread(void *args) {
|
||||
tile = vf_get_tile(output, x);
|
||||
out = tile->data;
|
||||
}
|
||||
if(!msg->decompress_buffer[pos])
|
||||
continue;
|
||||
decompress_frame(decoder->decompress_state[pos],
|
||||
(unsigned char *) out,
|
||||
(unsigned char *) msg->decompress_buffer[pos],
|
||||
|
||||
Reference in New Issue
Block a user