On Thu, Feb 23, 2012 at 11:24:55AM -0800, Ronald S. Bultje wrote:
> Hi,
> 
> On Thu, Feb 23, 2012 at 10:59 AM, Kostya Shishkov
> <[email protected]> wrote:
> > On Thu, Feb 23, 2012 at 10:53:28AM -0800, Ronald S. Bultje wrote:
> >> From: "Ronald S. Bultje" <[email protected]>
> >>
> >> Also fixes crashes on corrupt bitstreams.
> >>
> >> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
> >> CC: [email protected]
> >> ---
> >>  libavcodec/kgv1dec.c |   64 
> >> ++++++++++++++++++++++++++++++-------------------
> >>  1 files changed, 39 insertions(+), 25 deletions(-)
> > [...]
> >> @@ -150,17 +166,14 @@ static av_cold int decode_init(AVCodecContext *avctx)
> >>
> >>      c->avctx = avctx;
> >>      avctx->pix_fmt = PIX_FMT_RGB555;
> >> +    avctx->flags  |= CODEC_FLAG_EMU_EDGE;
> >>
> >>      return 0;
> >>  }
> >
> > I remember somebody not liking EMU_EDGE
> 
> Other codecs use it too. The alternative is to use evil
> divisions/modulos, which an earlier patch did.

fine, commit it
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to