Commit a6b7f24b authored by reimar's avatar reimar

dsputil must be initialized before calling rtjpeg init.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10463 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 150fbce9
...@@ -247,9 +247,9 @@ static int decode_init(AVCodecContext *avctx) { ...@@ -247,9 +247,9 @@ static int decode_init(AVCodecContext *avctx) {
c->codec_frameheader = avctx->codec_tag == MKTAG('R', 'J', 'P', 'G'); c->codec_frameheader = avctx->codec_tag == MKTAG('R', 'J', 'P', 'G');
if (avctx->extradata_size) if (avctx->extradata_size)
get_quant(avctx, c, avctx->extradata, 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)) if (!codec_reinit(avctx, avctx->width, avctx->height, -1))
return 1; return 1;
dsputil_init(&c->dsp, avctx);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment