style: ffmpeg format code

This commit is contained in:
xiaoyifang 2022-12-05 09:56:45 +08:00
parent 2fc4af11a8
commit 20410f50e7

View file

@ -246,8 +246,7 @@ bool DecoderContext::openCodec( QString & errorString )
codecContext_->channel_layout = layout;
}
swr_ = swr_alloc_set_opts(
NULL,
swr_ = swr_alloc_set_opts( NULL,
layout,
AV_SAMPLE_FMT_S16,
44100,