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

Michael Niedermayer michaelni at gmx.at
Sat Apr 23 19:54:43 CEST 2011


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110423/28e0be7a/attachment.asc>


More information about the ffmpeg-devel mailing list