« Previous | Next » 

Revision 69f58958

Parent fbfcc8f1
Child 02e3f7d0

Added by Stefano Sabatini over 10 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 <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences