You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
nuv: dont try to copy an empty frame
Fixes assertion failure Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -262,6 +262,7 @@ retry:
|
||||
av_log(avctx, AV_LOG_ERROR, "uncompressed frame too short\n");
|
||||
height = buf_size / c->width / 3 * 2;
|
||||
}
|
||||
if(height > 0)
|
||||
copy_frame(&c->pic, buf, c->width, height);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user