[FFmpeg-cvslog] vfilter/vf_scale: avoid using "{}"

Michael Niedermayer git at videolan.org
Sun Jul 21 05:31:54 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jul 21 04:47:09 2013 +0200| [1f7acf3cff0627c38f26f5a749389e156ab1fad0] | committer: Michael Niedermayer

vfilter/vf_scale: avoid using "{}"

Should fix compile issues with MSVC

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1f7acf3cff0627c38f26f5a749389e156ab1fad0
---

 libavfilter/vf_scale.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 8835ad2..8d8351b 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -190,7 +190,7 @@ static int query_formats(AVFilterContext *ctx)
 static const int *parse_yuv_type(const char *s, enum AVColorSpace colorspace)
 {
     const static int32_t yuv2rgb_coeffs[8][4] = {
-        {},
+        { 117504, 138453, 13954, 34903 },
         { 117504, 138453, 13954, 34903 }, /* ITU-R Rec. 709 (1990) */
         { 104597, 132201, 25675, 53279 }, /* unspecified */
         { 104597, 132201, 25675, 53279 }, /* reserved */



More information about the ffmpeg-cvslog mailing list