diff --git a/wcap/main.c b/wcap/main.c index bdbc8cb7..09e0aa7f 100644 --- a/wcap/main.c +++ b/wcap/main.c @@ -132,7 +132,7 @@ convert_to_yv12(struct wcap_decoder *decoder, unsigned char *out) static void output_yuv_frame(struct wcap_decoder *decoder) { - static char *out; + static unsigned char *out; int size; size = decoder->width * decoder->height * 3 / 2;