summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_out/video_out_vaapi.c b/src/video_out/video_out_vaapi.c
index a9025f4b6..6aaf94554 100644
--- a/src/video_out/video_out_vaapi.c
+++ b/src/video_out/video_out_vaapi.c
@@ -3051,7 +3051,7 @@ static void yuy2_to_nv12(const uint8_t *src_yuy2_map, int yuy2_pitch,
int width = (src_width > dst_width) ? dst_width : src_width;
int y, x;
- int uv_dst_size = dst_height * uv_dst_pitch / 2;
+ /*int uv_dst_size = dst_height * uv_dst_pitch / 2;*/
const uint8_t *yuy2_map = src_yuy2_map;
for(y = 0; y < height; y++) {