Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-09-16 20:19:54 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2017-09-16 20:55:03 +0300
commit0f5576a22b11ef726a01b14d1eaae2fa780c2f52 (patch)
tree22be9f9a4af6cb188b1c249507337265d56b225d /libavutil/imgutils.c
parenta149fa97d9501d3a1749232cc60b6f122d9d2de8 (diff)
avutil/imgutils: Fix warning: missing braces around initializer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/imgutils.c')
-rw-r--r--libavutil/imgutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c
index 4de0fa0c39..5005178804 100644
--- a/libavutil/imgutils.c
+++ b/libavutil/imgutils.c
@@ -555,7 +555,7 @@ int av_image_fill_black(uint8_t *dst_data[4], const ptrdiff_t dst_linesize[4],
int nb_planes = av_pix_fmt_count_planes(pix_fmt);
// A pixel or a group of pixels on each plane, with a value that represents black.
// Consider e.g. AV_PIX_FMT_UYVY422 for non-trivial cases.
- uint8_t clear_block[4][MAX_BLOCK_SIZE] = {0}; // clear padding with 0
+ uint8_t clear_block[4][MAX_BLOCK_SIZE] = {{0}}; // clear padding with 0
int clear_block_size[4] = {0};
ptrdiff_t plane_line_bytes[4] = {0};
int rgb, limited;