Unified · Split
| @@ -249,7 +249,8 @@ static int blend_frame(FFFrameSync *fs) · 248 unmodified lines | ||
| 249 | 249 | if (top_fc->sw_format != bottom_fc->sw_format) { |
| 250 | 250 | av_log(avctx, AV_LOG_ERROR, |
| 251 | 251 | "Currently the sw format of the bottom video need to match the top!\n"); |
| 252 | − return AVERROR(EINVAL); | |
| 252 | + err = AVERROR(EINVAL); | |
| 253 | + goto fail; | |
| 253 | 254 | } |
| 254 | 255 | RET(init_filter(avctx)); |
| 255 | 256 | } |