Revision d0b9b91b libavfilter/vf_pad.c

View differences:

libavfilter/vf_pad.c
62 62
    } else {
63 63
        int plane;
64 64

  
65
        color[RED  ] = RGB_TO_Y(rgba_color[0], rgba_color[1], rgba_color[2]);
66
        color[GREEN] = RGB_TO_U(rgba_color[0], rgba_color[1], rgba_color[2], 0);
67
        color[BLUE ] = RGB_TO_V(rgba_color[0], rgba_color[1], rgba_color[2], 0);
65
        color[RED  ] = RGB_TO_Y_CCIR(rgba_color[0], rgba_color[1], rgba_color[2]);
66
        color[GREEN] = RGB_TO_U_CCIR(rgba_color[0], rgba_color[1], rgba_color[2], 0);
67
        color[BLUE ] = RGB_TO_V_CCIR(rgba_color[0], rgba_color[1], rgba_color[2], 0);
68 68
        color[ALPHA] = rgba_color[3];
69 69

  
70 70
        for (plane = 0; plane < 4; plane++) {

Also available in: Unified diff