From e51503455b8f82ef4b28ebe36def25e40c84b0ba Mon Sep 17 00:00:00 2001 From: phunkyfish Date: Mon, 29 Jan 2024 09:31:24 +0000 Subject: [PATCH] Replace { 0 }, {0} and { } by {} --- src/stream/FFmpegStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream/FFmpegStream.cpp b/src/stream/FFmpegStream.cpp index 8159549a..090374d8 100644 --- a/src/stream/FFmpegStream.cpp +++ b/src/stream/FFmpegStream.cpp @@ -1974,7 +1974,7 @@ DemuxStream* FFmpegStream::AddStream(int streamIdx) st->iBlockAlign = pStream->codecpar->block_align; st->iBitRate = static_cast(pStream->codecpar->bit_rate); st->iBitsPerSample = pStream->codecpar->bits_per_raw_sample; - char buf[32] = { 0 }; + char buf[32] = {}; // https://github.com/FFmpeg/FFmpeg/blob/6ccc3989d15/doc/APIchanges#L50-L53 AVChannelLayout layout = {}; av_channel_layout_from_mask(&layout, st->iChannelLayout);