Commit 5bed74a9 authored by bcoudurier's avatar bcoudurier

add casts to silence gcc warnings

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18806 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5655ac9f
......@@ -54,9 +54,9 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
int aligned_width = ((avctx->width + 47) / 48) * 48;
int stride = aligned_width * 8 / 3;
int h, w;
const uint16_t *y = pic->data[0];
const uint16_t *u = pic->data[1];
const uint16_t *v = pic->data[2];
const uint16_t *y = (const uint16_t*)pic->data[0];
const uint16_t *u = (const uint16_t*)pic->data[1];
const uint16_t *v = (const uint16_t*)pic->data[2];
uint8_t *p = buf;
uint8_t *pdst = buf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment