Revision 520ca503

View differences:

libavcodec/v210enc.c
54 54
    int aligned_width = ((avctx->width + 47) / 48) * 48;
55 55
    int stride = aligned_width * 8 / 3;
56 56
    int h, w;
57
    const uint16_t *y = pic->data[0];
58
    const uint16_t *u = pic->data[1];
59
    const uint16_t *v = pic->data[2];
57
    const uint16_t *y = (const uint16_t*)pic->data[0];
58
    const uint16_t *u = (const uint16_t*)pic->data[1];
59
    const uint16_t *v = (const uint16_t*)pic->data[2];
60 60
    uint8_t *p = buf;
61 61
    uint8_t *pdst = buf;
62 62

  

Also available in: Unified diff