summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/ffmpeg/libavfilter/graphdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/libavfilter/graphdump.c')
-rw-r--r--chromium/third_party/ffmpeg/libavfilter/graphdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/ffmpeg/libavfilter/graphdump.c b/chromium/third_party/ffmpeg/libavfilter/graphdump.c
index 1b5932115b5..3d702c6af5f 100644
--- a/chromium/third_party/ffmpeg/libavfilter/graphdump.c
+++ b/chromium/third_party/ffmpeg/libavfilter/graphdump.c
@@ -31,9 +31,10 @@ static int print_link_prop(AVBPrint *buf, AVFilterLink *link)
{
char *format;
char layout[64];
+ AVBPrint dummy_buffer = { 0 };
if (!buf)
- buf = &(AVBPrint){ 0 }; /* dummy buffer */
+ buf = &dummy_buffer;
switch (link->type) {
case AVMEDIA_TYPE_VIDEO:
format = av_x_if_null(av_get_pix_fmt_name(link->format), "?");