1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

avfilter/vf_xfade: check default switch case

This commit is contained in:
Paul B Mahol 2021-09-12 15:04:31 +02:00
parent 1db828db8b
commit c4973e2148

View File

@ -1825,6 +1825,7 @@ static int config_output(AVFilterLink *outlink)
case SQUEEZEH: s->transitionf = s->depth <= 8 ? squeezeh8_transition : squeezeh16_transition; break;
case SQUEEZEV: s->transitionf = s->depth <= 8 ? squeezev8_transition : squeezev16_transition; break;
case ZOOMIN: s->transitionf = s->depth <= 8 ? zoomin8_transition : zoomin16_transition; break;
default: return AVERROR_BUG;
}
if (s->transition == CUSTOM) {