diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-09-09 18:14:11 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-09-09 18:14:11 +0000 |
commit | ba430e0cfac25a2605b938b94f4a3b6c1a77e1d8 (patch) | |
tree | eaeaac2371b22ab6ef2be63e121d3321035fbf67 /libavcodec/nuv.c | |
parent | 6ec14b333df2703708225f4db3d1aa02b27ad2a0 (diff) | |
download | ffmpeg-ba430e0cfac25a2605b938b94f4a3b6c1a77e1d8.tar.gz |
dsputil must be initialized before calling rtjpeg init.
Originally committed as revision 10463 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/nuv.c')
-rw-r--r-- | libavcodec/nuv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nuv.c b/libavcodec/nuv.c index 79b0d50a62..d157383672 100644 --- a/libavcodec/nuv.c +++ b/libavcodec/nuv.c @@ -247,9 +247,9 @@ static int decode_init(AVCodecContext *avctx) { 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; } |