# HG changeset patch # User reimar # Date 1189361651 0 # Node ID d540c7d88344c22db9e6bcc55fe951f7802dfc9d # Parent 52aae8c63b3096fd879f6f2a6f41ddc733d1ce46 dsputil must be initialized before calling rtjpeg init. diff -r 52aae8c63b30 -r d540c7d88344 nuv.c --- a/nuv.c Sun Sep 09 17:01:11 2007 +0000 +++ b/nuv.c Sun Sep 09 18:14:11 2007 +0000 @@ -247,9 +247,9 @@ c->codec_frameheader = avctx->codec_tag == MKTAG('R', 'J', 'P', 'G'); if (avctx->extradata_size) get_quant(avctx, c, avctx->extradata, avctx->extradata_size); + dsputil_init(&c->dsp, avctx); if (!codec_reinit(avctx, avctx->width, avctx->height, -1)) return 1; - dsputil_init(&c->dsp, avctx); return 0; }