You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_waveform: cc2b3201e7
missed same for >8 bits
This commit is contained in:
@@ -745,7 +745,7 @@ static av_always_inline void lowpass16(WaveformContext *s,
|
|||||||
dst_data += dst_linesize * step;
|
dst_data += dst_linesize * step;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->display != OVERLAY && column && !s->rgb) {
|
if (s->display != OVERLAY && column && !s->rgb && out->data[1] && out->data[2]) {
|
||||||
const int mult = s->max / 256;
|
const int mult = s->max / 256;
|
||||||
const int bg = s->bg_color[0] * mult;
|
const int bg = s->bg_color[0] * mult;
|
||||||
const int t0 = s->tint[0];
|
const int t0 = s->tint[0];
|
||||||
@@ -769,7 +769,7 @@ static av_always_inline void lowpass16(WaveformContext *s,
|
|||||||
dst0 += dst_linesize;
|
dst0 += dst_linesize;
|
||||||
dst1 += dst_linesize;
|
dst1 += dst_linesize;
|
||||||
}
|
}
|
||||||
} else if (s->display != OVERLAY && !s->rgb) {
|
} else if (s->display != OVERLAY && !s->rgb && out->data[1] && out->data[2]) {
|
||||||
const int mult = s->max / 256;
|
const int mult = s->max / 256;
|
||||||
const int bg = s->bg_color[0] * mult;
|
const int bg = s->bg_color[0] * mult;
|
||||||
const int t0 = s->tint[0];
|
const int t0 = s->tint[0];
|
||||||
|
Reference in New Issue
Block a user