summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-04-29 16:46:42 +0200
committerPaul B Mahol <onemda@gmail.com>2019-04-29 16:46:42 +0200
commit31990046ac68f218efed846931824adab9d51370 (patch)
treed1b05cad861910d1fedbe55f085eee48a6131ec0
parentd7fead80ad994243b35bf4d43324f3fa72c11e9d (diff)
downloadffmpeg-streaming-31990046ac68f218efed846931824adab9d51370.zip
ffmpeg-streaming-31990046ac68f218efed846931824adab9d51370.tar.gz
avfilter/f_ebur128: use correct type for chl
-rw-r--r--libavfilter/f_ebur128.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_ebur128.c b/libavfilter/f_ebur128.c
index f613d8d..f25d5f0 100644
--- a/libavfilter/f_ebur128.c
+++ b/libavfilter/f_ebur128.c
@@ -420,7 +420,7 @@ static int config_audio_output(AVFilterLink *outlink)
for (i = 0; i < nb_channels; i++) {
/* channel weighting */
- const uint16_t chl = av_channel_layout_extract_channel(outlink->channel_layout, i);
+ const uint64_t chl = av_channel_layout_extract_channel(outlink->channel_layout, i);
if (chl & (AV_CH_LOW_FREQUENCY|AV_CH_LOW_FREQUENCY_2)) {
ebur128->ch_weighting[i] = 0;
} else if (chl & BACK_MASK) {
OpenPOWER on IntegriCloud