diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2002-06-05 18:35:28 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2002-06-05 18:35:28 +0000 |
commit | ee4b748b7f0f612260e18991be4e39d266c82614 (patch) | |
tree | 466a62ba01ca7e64f323a435697aa610bd90d27f /libavcodec/mjpeg.c | |
parent | 5bcfd1ad987fc2e602c439b101826bea8ecf28d8 (diff) | |
download | ffmpeg-ee4b748b7f0f612260e18991be4e39d266c82614.tar.gz |
use ff_idct_put()
Originally committed as revision 669 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpeg.c')
-rw-r--r-- | libavcodec/mjpeg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index 016ccd7307..577e9d884a 100644 --- a/libavcodec/mjpeg.c +++ b/libavcodec/mjpeg.c @@ -992,13 +992,12 @@ static int mjpeg_decode_sos(MJpegDecodeContext *s, goto the_end; } // dprintf("mb: %d %d processed\n", mb_y, mb_x); - ff_idct (s->block); ptr = s->current_picture[c] + (s->linesize[c] * (v * mb_y + y) * 8) + (h * mb_x + x) * 8; if (s->interlaced && s->bottom_field) ptr += s->linesize[c] >> 1; - put_pixels_clamped(s->block, ptr, s->linesize[c]); + ff_idct_put(ptr, s->linesize[c], s->block); if (++x == h) { x = 0; y++; |