summaryrefslogtreecommitdiff
path: root/toxav/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/video.c')
-rw-r--r--toxav/video.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/toxav/video.c b/toxav/video.c
index 690b3bd4..ee49c0a1 100644
--- a/toxav/video.c
+++ b/toxav/video.c
@@ -141,9 +141,8 @@ void vc_do(VCSession* vc)
141 for (; dest; dest = vpx_codec_get_frame(vc->decoder, &iter)) { 141 for (; dest; dest = vpx_codec_get_frame(vc->decoder, &iter)) {
142 if (vc->vcb.first) 142 if (vc->vcb.first)
143 vc->vcb.first(vc->av, vc->friend_number, dest->d_w, dest->d_h, 143 vc->vcb.first(vc->av, vc->friend_number, dest->d_w, dest->d_h,
144 (const uint8_t*)dest->planes[0], (const uint8_t*)dest->planes[1], 144 (const uint8_t*)dest->planes[0], (const uint8_t*)dest->planes[1], (const uint8_t*)dest->planes[2],
145 (const uint8_t*)dest->planes[2], (const uint8_t*)dest->planes[3], 145 dest->stride[0], dest->stride[1], dest->stride[2], vc->vcb.second);
146 dest->stride[0], dest->stride[1], dest->stride[2], dest->stride[3], vc->vcb.second);
147 146
148 vpx_img_free(dest); 147 vpx_img_free(dest);
149 } 148 }