summaryrefslogtreecommitdiff
path: root/tests/checkasm/blockdsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/checkasm/blockdsp.c')
-rw-r--r--tests/checkasm/blockdsp.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/checkasm/blockdsp.c b/tests/checkasm/blockdsp.c
index f10e2ff578..c753506b3c 100644
--- a/tests/checkasm/blockdsp.c
+++ b/tests/checkasm/blockdsp.c
@@ -1,20 +1,20 @@
/*
* Copyright (c) 2015 Henrik Gramner
*
- * This file is part of Libav.
+ * This file is part of FFmpeg.
*
- * Libav is free software; you can redistribute it and/or modify
+ * FFmpeg is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * Libav is distributed in the hope that it will be useful,
+ * FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with Libav; if not, write to the Free Software Foundation, Inc.,
+ * with FFmpeg; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
@@ -53,11 +53,13 @@ do { \
void checkasm_check_blockdsp(void)
{
- LOCAL_ALIGNED_16(uint16_t, buf0, [6 * 8 * 8]);
- LOCAL_ALIGNED_16(uint16_t, buf1, [6 * 8 * 8]);
+ LOCAL_ALIGNED_32(uint16_t, buf0, [6 * 8 * 8]);
+ LOCAL_ALIGNED_32(uint16_t, buf1, [6 * 8 * 8]);
+
+ AVCodecContext avctx = { 0 };
BlockDSPContext h;
- ff_blockdsp_init(&h);
+ ff_blockdsp_init(&h, &avctx);
check_clear(clear_block, 8 * 8);
check_clear(clear_blocks, 8 * 8 * 6);