mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
avformat/mov: fix 2 compile errors
Compiler: MSVC 14.35.32215 Error type: error C2059: syntax error: '}' Related commit:9e1ffed
fate/mov: add PCM in mp4 testd7e8643
avformat/mov: parse ISO-14496-12 ChannelLayout Signed-off-by: Tong Wu <tong1.wu@intel.com> Signed-off-by: Zhao Zhili <zhilizhao@tencent.com> Reviewed-by: Haihao Xiang <haihao.xiang@intel.com>
This commit is contained in:
parent
85b185b504
commit
c3a7999099
@ -555,7 +555,7 @@ int ff_mov_read_chan(AVFormatContext *s, AVIOContext *pb, AVStream *st,
|
||||
/* ISO/IEC 23001-8, 8.2 */
|
||||
static const AVChannelLayout iso_channel_configuration[] = {
|
||||
// 0: any setup
|
||||
{},
|
||||
{0},
|
||||
|
||||
// 1: centre front
|
||||
AV_CHANNEL_LAYOUT_MONO,
|
||||
|
@ -1194,7 +1194,7 @@ static int mov_write_chnl_tag(AVFormatContext *s, AVIOContext *pb, MOVTrack *tra
|
||||
ret = ff_mov_get_channel_positions_from_layout(layout,
|
||||
speaker_pos, layout->nb_channels);
|
||||
if (ret) {
|
||||
char buf[128] = {};
|
||||
char buf[128] = {0};
|
||||
|
||||
av_freep(&speaker_pos);
|
||||
av_channel_layout_describe(layout, buf, sizeof(buf));
|
||||
|
Loading…
Reference in New Issue
Block a user