projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bcfd1a
)
use ff_idct_put()
author
Fabrice Bellard
<fabrice@bellard.org>
Wed, 5 Jun 2002 18:35:28 +0000
(18:35 +0000)
committer
Fabrice Bellard
<fabrice@bellard.org>
Wed, 5 Jun 2002 18:35:28 +0000
(18:35 +0000)
Originally committed as revision 669 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mjpeg.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpeg.c
b/libavcodec/mjpeg.c
index
016ccd7
..
577e9d8
100644
(file)
--- 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++;