[FFmpeg-devel] [PATCH] ffplay: avoid SIGFPE exception in SDL_DisplayYUVOverlay

Stefano Sabatini stefano.sabatini-lala at poste.it
Sun Apr 24 23:13:32 CEST 2011


On date Saturday 2011-04-23 19:54:43 +0200, Michael Niedermayer encoded:
> On Sat, Apr 23, 2011 at 12:54:21PM +0200, Stefano Sabatini wrote:
> > On date Saturday 2011-04-23 02:20:23 +0200, Michael Niedermayer encoded:
> > > On Fri, Apr 22, 2011 at 05:42:52PM +0200, Stefano Sabatini wrote:
> > > > In video_image_display(), fix exception occurring when the size of the
> > > > rectangle passed to SDL_DisplayYUVOverlay() is 0x0. This is done by
> > > > forcing the minimum size to 1x1.
> > > > 
> > > > Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> > > > ---
> > > >  ffplay.c |    4 ++--
> > > >  1 files changed, 2 insertions(+), 2 deletions(-)
> > > 
> > > the patch is ok but please explain when this happened?
> > 
> > Try to interactively resize the ffplay window to size 0x0, it will crash.
> 
> ok understood

Applied.
-- 
FFmpeg = Fascinating and Furious Magic Peaceful Exxagerate Gospel


More information about the ffmpeg-devel mailing list