« Previous | Next » 

Revision 69f58958

ID69f58958ce8f81b153b14c60959ba37d6bf0b8cf
Parent fbfcc8f1
Child 02e3f7d0

Added by Stefano Sabatini about 9 years ago

ffplay: avoid SIGFPE exception in SDL_DisplayYUVOverlay

In video_image_display(), fix exception occurring when the size of the
rectangle passed to SDL_DisplayYUVOverlay() is 0x0, which happens when
interactively resizing the SDL window.
This is done by forcing the minimum size to 1x1.

Signed-off-by: Stefano Sabatini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences