summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-06 12:35:59 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-06 12:35:59 +0000
commitd0b9b91b57a8baf87f87d0388497afe66b050973 (patch)
treecdcc60aa8077325223b2dbdc4f733187654a0f70 /libavfilter
parent7fddac9320eec31bc9027f1b1fabac0f3aafaeb2 (diff)
vf_pad: restore use of _CCIR colourspace conversion macros
Originally committed as revision 24073 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_pad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c
index b91f2fd289..af80a68af5 100644
--- a/libavfilter/vf_pad.c
+++ b/libavfilter/vf_pad.c
@@ -62,9 +62,9 @@ static int fill_line_with_color(uint8_t *line[4], int line_step[4], int w, uint8
} else {
int plane;
- color[RED ] = RGB_TO_Y(rgba_color[0], rgba_color[1], rgba_color[2]);
- color[GREEN] = RGB_TO_U(rgba_color[0], rgba_color[1], rgba_color[2], 0);
- color[BLUE ] = RGB_TO_V(rgba_color[0], rgba_color[1], rgba_color[2], 0);
+ color[RED ] = RGB_TO_Y_CCIR(rgba_color[0], rgba_color[1], rgba_color[2]);
+ color[GREEN] = RGB_TO_U_CCIR(rgba_color[0], rgba_color[1], rgba_color[2], 0);
+ color[BLUE ] = RGB_TO_V_CCIR(rgba_color[0], rgba_color[1], rgba_color[2], 0);
color[ALPHA] = rgba_color[3];
for (plane = 0; plane < 4; plane++) {