Mercurial > libavcodec.hg
diff nuv.c @ 5669:d540c7d88344 libavcodec
dsputil must be initialized before calling rtjpeg init.
| author | reimar |
|---|---|
| date | Sun, 09 Sep 2007 18:14:11 +0000 |
| parents | 0dc21d071895 |
| children | dfdff1ca78a7 |
line wrap: on
line diff
--- 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; }
