scheutzo <[email protected]> added the comment:

> Doesn't the top half of the #if/#else truncate the picture unscaled?

The values stored in vp->width and vp->height are larger than the actual buffer
size allocated by libSDL. Which is why a buffer overrun occurs.

If the ffplay-requested image size is too large, the libSDL behavior is to
allocate the largest buffer size compatible with the user's video system.

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2079>
________________________________________________

Reply via email to