Skip to content

Commit

Permalink
Replace { 0 }, {0} and { } by {}
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Jan 29, 2024
1 parent 5c553ca commit e515034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream/FFmpegStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1974,7 +1974,7 @@ DemuxStream* FFmpegStream::AddStream(int streamIdx)
st->iBlockAlign = pStream->codecpar->block_align;
st->iBitRate = static_cast<int>(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);
Expand Down

0 comments on commit e515034

Please sign in to comment.