summaryrefslogtreecommitdiff
path: root/libavcodec/indeo3.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-04-27 20:29:09 +0200
committerAnton Khirnov <anton@khirnov.net>2013-04-30 11:06:03 +0200
commitbda9e6d923df6d46cc5cafb30a59a01d2514fa61 (patch)
tree506a9eed127f3e6c7649faf2fb3058fb989e1093 /libavcodec/indeo3.c
parent95220be1faac628d849a004644c0d102df0aa98b (diff)
indeo3: use put_pixels instead of put_no_rnd_pixels in copy_cell()
They are the same in this case, except put_pixels also has blocksizes smaller than 8.
Diffstat (limited to 'libavcodec/indeo3.c')
-rw-r--r--libavcodec/indeo3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c
index 35b1a89405..b3c278fa44 100644
--- a/libavcodec/indeo3.c
+++ b/libavcodec/indeo3.c
@@ -251,19 +251,19 @@ static int copy_cell(Indeo3DecodeContext *ctx, Plane *plane, Cell *cell)
/* copy using 16xH blocks */
if (!((cell->xpos << 2) & 15) && w >= 4) {
for (; w >= 4; src += 16, dst += 16, w -= 4)
- ctx->hdsp.put_no_rnd_pixels_tab[0][0](dst, src, plane->pitch, h);
+ ctx->hdsp.put_pixels_tab[0][0](dst, src, plane->pitch, h);
}
/* copy using 8xH blocks */
if (!((cell->xpos << 2) & 7) && w >= 2) {
- ctx->hdsp.put_no_rnd_pixels_tab[1][0](dst, src, plane->pitch, h);
+ ctx->hdsp.put_pixels_tab[1][0](dst, src, plane->pitch, h);
w -= 2;
src += 8;
dst += 8;
}
if (w >= 1) {
- ctx->hdsp.put_no_rnd_pixels_tab[2][0](dst, src, plane->pitch, h);
+ ctx->hdsp.put_pixels_tab[2][0](dst, src, plane->pitch, h);
w--;
src += 4;
dst += 4;