summaryrefslogtreecommitdiff
path: root/auto_tests/toxav_many_test.c
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2016-08-26 22:47:19 +0200
committermannol <eniz_vukovic@hotmail.com>2016-08-26 22:47:19 +0200
commit1f25fc0ae417bfc47dea4966cb5e43689aa88d5c (patch)
tree77fe8acf90390eacb39aa579f5e95c1a9ff0f2af /auto_tests/toxav_many_test.c
parenta45356ce3eb14ad016732593cd5eedfd6f05df6f (diff)
Fix plane size calculation in test
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r--auto_tests/toxav_many_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c
index 5421284b..cd9d514c 100644
--- a/auto_tests/toxav_many_test.c
+++ b/auto_tests/toxav_many_test.c
@@ -164,8 +164,8 @@ void *call_thread(void *pd)
164 164
165 int16_t *PCM = calloc(960, sizeof(int16_t)); 165 int16_t *PCM = calloc(960, sizeof(int16_t));
166 uint8_t *video_y = calloc(800 * 600, sizeof(uint8_t)); 166 uint8_t *video_y = calloc(800 * 600, sizeof(uint8_t));
167 uint8_t *video_u = calloc(800 * 600 / 2, sizeof(uint8_t)); 167 uint8_t *video_u = calloc(800 * 600 / 4, sizeof(uint8_t));
168 uint8_t *video_v = calloc(800 * 600 / 2, sizeof(uint8_t)); 168 uint8_t *video_v = calloc(800 * 600 / 4, sizeof(uint8_t));
169 169
170 time_t start_time = time(NULL); 170 time_t start_time = time(NULL);
171 171