[FFmpeg-cvslog] r10463 - trunk/libavcodec/nuv.c
reimar
subversion
Sun Sep 9 20:14:11 CEST 2007
Author: reimar
Date: Sun Sep 9 20:14:11 2007
New Revision: 10463
Log:
dsputil must be initialized before calling rtjpeg init.
Modified:
trunk/libavcodec/nuv.c
Modified: trunk/libavcodec/nuv.c
==============================================================================
--- trunk/libavcodec/nuv.c (original)
+++ trunk/libavcodec/nuv.c Sun Sep 9 20:14:11 2007
@@ -247,9 +247,9 @@ static int decode_init(AVCodecContext *a
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;
}
More information about the ffmpeg-cvslog
mailing list