Hi On Wed, Jan 17, 2007 at 10:40:07AM +0100, Panagiotis Issaris wrote: > Hi, > > Attached are two trivial patches with different approaches to prevent > the segfault as demonstrated by lol-ffplay.ogm. [...] > Index: libavcodec/imgresample.c > =================================================================== > --- libavcodec/imgresample.c (revision 7559) > +++ libavcodec/imgresample.c (working copy) > @@ -672,6 +672,8 @@ > > void sws_freeContext(struct SwsContext *ctx) > { > + if (!ctx) > + return; > if ((ctx->resampling_ctx->iwidth != ctx->resampling_ctx->owidth) || looks ok [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No great genius has ever existed without some touch of madness. -- Aristotle -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070117/f7310d0a/attachment.pgp>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4